mcslemon Posted January 4, 2008 Share Posted January 4, 2008 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 More sharing options...
mcslemon Posted January 4, 2008 Author Share Posted January 4, 2008 It's ok!Part of the script was setting network information up and it seemed to lag. I paused the script for 20 seconds using SLEEP and it seemed to work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now