1.

Solve : Pushd?

Answer»

Hey guys I am trying to use the pushd command to map a drive and copy a screensaver file. I was then planning on using AD to select the screensaver. Problem is I can't GET the pushd command to work. Any ideas?

pushd \\server1\mis\missoftware\mainshare\Package_CD\Screensaver
md C:\Package CD
copy *.scr C:\Package CD\ *.scr
popd

normally for mapping drive, i use net use. you can try that. type net use ? on the command PROMPT to see its usageThanks Ghost. I thought about that but unfortunately our network has a lot of mapped drives with no rhyme or reason to the lettering. The pushd will ALLOW me not to worry about those issues. I think it scans the mappings and finds an used drive letter. i think the * option in net use can take care of that too..Worked great but how do I remove that drive after I am finished?DUDE, you didn't read the net use help PROPERLY. there's an option there you can use to delete net work drive.



Discussion

No Comment Found