-
Junior Member
doubt
what is the difference between "temp" command and "%temp%" command
-
Junior Member
Re: doubt
%temp% is a variable defined in windows that points to temporary files. Typically %temp% points to c:\documents and settings\"user"\Local Settings\Temp
what are you referring to for the other temp?
-
Expert Member
Re: doubt
If a command contains two percent signs, MS-DOS will treat any characters between them as an environment variable to be expanded.The environment variable called "Temp", that when using the two percent symbols, will replace the %temp% with the full path of the temp folder, C:\temp, for example. If you don't have the percent symbols, then it treats the temp as the command and not as an environment variable, so not replacement will occur.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules