Jump to content

Recommended Posts

i have been trying and trying with this code. but it still shows error.

can anyone please guide me on this ?



My H drive is a network drive. when i run it. it always shows that unable to execute the external program..what is the problem?

secondly. the @COMPUTERNAME is it have to put as computer name? if i want this file 300 user using this file, is that means i have to create 300 different file for different computer name? can i use like %COMPUTERNAME% to replace it so that it can search for computername automatically while user login.?

can anyone please guide me on this??


Link to post
Share on other sites


The message u get is correct.

For using files on network drives use UNC naming instead of drive letters.



Second : Do u have an domain ?


What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Link to post
Share on other sites

You can also map H: using DrivemapAdd after you started the runatset account.

H: does not exist for the account you use to run the application.

:ph34r: A good way to check this is to use "run as" on Internet Explorer and got to my computer using internet explorer. You will notice that there are no mappings to external drives...

DriveMapAdd("H:", "\\myserver\stuff")

Playing and learning with Autoit v3


Link to post
Share on other sites

Another thing I noticed is that you are trying to run a .txt file. In order to work with a text file, you need to run a program to manipulate it like Notepad.

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to post
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...