Search found 2 matches
- 28 Oct 2011 13:44
- Forum: DOS Batch Forum
- Topic: SET commands
- Replies: 8
- Views: 8072
Re: SET commands
Thanks for taking the time to answer. I do run a lot of portable applications but got tired of having my files infected so I started to making password protected RAR files. Whenever I want to use some of the applications, they will be extracted to %temp%, executed and then deleted. However, some app...
- 27 Oct 2011 15:05
- Forum: DOS Batch Forum
- Topic: SET commands
- Replies: 8
- Views: 8072
SET commands
I am trying to get some SET commands to work in other CMD´s then the one actually executed from, but with various results. From one cmd without any SETLOCAL I have the lines; set str=%~d0%~p0 set str=%str:~2,-6% set sourcedrv=%~d0%str%source\ set str= set update=%1 I would then prefer to have this S...