
Search found 2 matches
- 26 Nov 2014 14:03
- Forum: DOS Batch Forum
- Topic: What is wrong with my If Exists command?
- Replies: 3
- Views: 7181
Re: What is wrong with my If Exists command?
Thanks a TON, that did it
.

- 26 Nov 2014 13:37
- Forum: DOS Batch Forum
- Topic: What is wrong with my If Exists command?
- Replies: 3
- Views: 7181
What is wrong with my If Exists command?
@echo off set /p uName=Enter User Name: set /p server=Enter Profile Server: set /p pcID=Enter Computer Name: set pcID=\\%pcID%\c$\Documents and Settings\%uName%\ set uPath=\\%server%\profiles\%uName%\ set pPath=\\%server%\users\%uName%\ set old=\\%server%\profiles\%uName%.old\ If exists %old% echo ...