pushD and PopD help please

Hewlett-packard / Iq505
January 28, 2009 at 16:23:56
Specs: Windows Vista , Dual Core/4GB
How do I change the working directory to the current user profile directory in my batch files? I guess it should start with PushD but I am not sure how to change this to the current user profile directory in a batch file so that the batch file will work regardless of which user is logged on. I know you might be thinking that I should just place the files in the common folders but its not that kind of file...

See More: pushD and PopD help please

Report •


#1
January 28, 2009 at 16:40:35
pushd %USERPROFILE%


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#2
January 28, 2009 at 17:49:14
you make these things look so easy mech2go. lol. Thanks a bunch.

Report •

Related Solutions


Ask Question