troubleshooting Question

using pushd via VPN

Avatar of janoxley
janoxleyFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft DOSWindows OS
8 Comments1 Solution1057 ViewsLast Modified:
   I worked from home last night and came across an issue when using the pushd command to change directory. This is on a windows 7 laptop.

   I have some batch files (.bat) and command files (.cmd) that load data to Oracle (on a separate server) via SQLLDR, run some oracle stored procs and use SQLPLUS to extract data.

  All the various files are on network drives at work (\\server\share type thing)

  In my bat, cmd and sql files i use the pushd command to change the current file path to one of these network drives (e.g. pushd "\\\cde\....."    <-- using inverted commas)

 This all works fine when I'm at work directly connected to the network but If I'm at home using a VPN connection then my bat/cmd files give an access denied message.
 Now, when at home I can access these folders using windows explorer etc, I can save, ammed, create and delete files quite happily. But I'm getting this odd access denied msg when using pushd.

 I specifically use pushd as the folder paths have spaces in them.

Can anyone help?

David Johnson, CD
The More I know, the more I don't know
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros