Not confined to 10.5b, the instruction to locate the user's TEMP directory -
"run 'cd %TEMP%' in command line to see directory"
- fails when the directory is not in the customary place.
A simple change to cd /d %TEMP% in the advice allows a drive-change when executing cd.
When a RAM-disk is used to hold ephemeral temporary files, with a TEMP directory in it and environment variables altered to point to it, plain 'cd %TEMP%' can't work.
'cd /d %TEMP%' works well.
'Zip packer' Option to Locate TEMP\ Fails
Moderators: Hacker, petermad, Stefan2, white
'Zip packer' Option to Locate TEMP\ Fails
Regards, PhredE
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: 'Zip packer' Option to Locate TEMP\ Fails
What RAM disk are you using?
It means that the user doesn't have the "execute" right of the folder, which means that SetCurrentDirectory fails.
It means that the user doesn't have the "execute" right of the folder, which means that SetCurrentDirectory fails.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: 'Zip packer' Option to Locate TEMP\ Fails
2Phred
I'm pretty sure that the instructions refer to TC's command line, not CMD.
Regards
Dalai
I'm pretty sure that the instructions refer to TC's command line, not CMD.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: 'Zip packer' Option to Locate TEMP\ Fails
Indeed, it says command line, not command prompt.Dalai wrote: 2022-05-20, 12:29 UTC I'm pretty sure that the instructions refer to TC's command line, not CMD.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: 'Zip packer' Option to Locate TEMP\ Fails
Yes, TC uses SetCurrentDirectory when you use the "cd" command. This must be failing with your RAM disk.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: 'Zip packer' Option to Locate TEMP\ Fails
I'm using both AMD Radeon RAMdisk and SoftPerfect RAM Disk, on different machines. The behaviour is the same on both.ghisler(Author) wrote: 2022-05-20, 09:10 UTC What RAM disk are you using?
It means that the user doesn't have the "execute" right of the folder, which means that SetCurrentDirectory fails.
Yes, I notice now that the config'n line does say 'command line'. I missed that and went straight to a user command prompt, although I will say that 'command line' is a common term for a DOS box.
A command line utility.
Command line switches or parameters.
Command line options.
A command line interface or text interface.
I also notice that 'cd /d %TEMP%' doesn't work in TC's command line.
To the extent that it matters, the instruction could reduce ambiguity by saying '(run 'cd %TEMP%' in TC's command line to see directory)'.
Does TC ever call itself 'TC'?
Otherwise, case closed.
Regards, PhredE