108 reputation
3
bio website jeremysimmons.net
location United States
age 31
visits member for 2 years
seen Jul 3 at 18:44

Nov
10
comment why doesn't %CD% work after using pushd to a UNC path?
@techie007 - yes, pushd is working as expected. I tested with DIR >> log.txt as well as CD >> log.txt.
Nov
10
awarded  Scholar
Nov
10
awarded  Supporter
Nov
10
comment why doesn't %CD% work after using pushd to a UNC path?
doh. didn't even think to try delayed expansion. Thanks for the gentle reminder. %DestinationDirectory% works because it's not based on either %%A or anything inside the FOR block. It's defined at the top of the batch file :)
Nov
10
accepted why doesn't %CD% work after using pushd to a UNC path?
Nov
9
awarded  Student
Nov
9
asked why doesn't %CD% work after using pushd to a UNC path?
Jun
15
comment Any way of changing Windows 7 screen resolution via command line?
Displayswitch.exe also has command line parameters that allow you to create a shortcut that will set a specific display mode. /internal /clone /extend /external