Jump to content

Batch file issue


mcslemon

Recommended Posts

Hi,

If this isn't the right place, then please can someone direct me to the right area to post in.

Ok..

Initially, I set up an autoit script to do a few things, one of which was to map a drive. My first problem I came up against was the fact that the map command in autoit didn't work in WinPE (vistape). So I set about using the NET USE command within the script, which also failed!

I begun to wonder if it was something to do with the autoit script still, so I've set up a batch file that calls the autoit script to do its bits, but then exits back to the batch file to perform the NET USE command. Unfortunately the NET USE command fails here too! What is more annoying is that with both methods, as soon as I quit the script or the batch file and issue the NET USE command from the command line myself, it works!

Is there something in VistaPE that is stopping this command from running at a system level, only allowing it to be issued manually by the user?

Any help would be appreciated.

Neil.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...