Jump to content

cyberal

Members
  • Posts

    14
  • Joined

  • Last visited

cyberal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Alright! Cool! I'll try this. Thanks so much cyberal
  2. Is there any way to run a AutoIt script from another AutoIt script? I thought maybe runwait but either I am doing it wrong or you just cannot use runwait. Appreciate any help you can suggest. Thanks - cyberal
  3. Brewmannh and Melba23, Thanks so much. I am pretty new at this but I can see this will work perfectly! cyberal
  4. Is there anything like a batch file "goto" I have a input box that says Enter "(Q)uick" or "(F)ull" and I want to test for whether Q or F was input and if not, then re-ask the question. If it is Q or F then continue the execution. OR maybe a sample of how to it or point me in the right directio in help. Thanks much cyberal
  5. I have looked around for some commands I can use to perform a copy based on the archive bit set to "A" similar to the DOS command 'Robocopy' functionality. The combination of commands would have to wind through all files in a folder and all the sub folders to see if the files have been "touched" and then copy them to a backup drive, then set the archive bit to "N". I can see the AutoIt commands to test for the archive bit "FileGetattrib" and "FileSetAttrib" for a file but am not sure how to wind through all the files and do the copy. Can someone lead me by the nose to accomplish this? Thanks for any help you can provide. cyberal
  6. ShornW, Sorry for not getting back to you sooner. The "RunWait" doesn't seem to be very reiliable either. The test for a folder existing does seem to be pretty reliable. Time will tell for sure. I truely appreciate your help! cyberal
  7. ShornW, Again newbee here. I do have wireless network and my HP printer is wireless and my wife's desktop is also. The laptop is a direct connect to my router/modem via coax connection as is my own desktop PC. I am using the computer name to test both the laptop( mardelllaptop) and my wife's desktop (marpc). That's just not working reliably which you mentioned. I am going to try your new method shortly. I also am trying to test for the existance of a unique folder name on her desktop and shared that folder ("DoNotDelete" is the folder name) if FileExists("mardelllaptopDoNotDelete") then msgbox(0,"Does it exist","Mardelllaptop does Exists") Else msgbox(0,"Does it exist","mardelllaptop Does not exist") EndIf exit This seems to be working every time I'll let you know how I make out on these solutions... Thanks for all your help cyberal
  8. Yes, I am getting 0 sometimes and a number other times. Go figure ????? cyberal
  9. The ping does work but I am getting different results. Sometimes it tells me they are there (PC and Laptop) and other times their not there. Both of them are on and connected. I guess that is not to dependable. I used a timeout of 10000. I'm a newbe and am not sure how to do you other suggestions. cyberal
  10. It there some special way to use "drivestatus" to determine if a network connected PC or Laptop is on and connected? I tried Local $status = drivestatus("\\MarDellLaptop") which doesn't seem to work. Local $status = drivestatus("G:\") for a locally connected USB external drive does work just fine. Naturally, I just assumed the \\marDellLaptop would work. Thanks for any help Cyberal
  11. JLogan3o13, This worked perfectly. I also did not know the the link name on my desktop looks like this "menumain.bat - Shortcut.lnk" and I kept trying "menumain.lnk" You pointed me in the right direction and I appreciate your help. I am a newbe at this. Thanks again cyberal
  12. Aipion, Yes that works, but I want to use a shortcut on my desktop to start the actual batch file. cyberal
  13. You are so right. This works runwait("c:\users\al\desktop\batchbufiles\menumain.bat") This is where the actual batch file resides This doesn't work runwait("c:\users\al\desktop\menumain.lnk") This is where the actual shortcut resides And I don't know what the actual file extension is for a shortcut, but probably not ".lnk" ?? This also works local $val = ShellExecuteWait ("C:\users\al\desktop\batchbufiles\menumain.bat") again, where the batch file resides The only "include" I am using is <GUIConstantsEx.au3> Hope this helps cyberal
  14. I would like to be able to use a shortcut that is on my desktop which in turn points to a location of a batch file and execute the batch file. A shortcut can be configured to place the window at a specified location and size the window. I have been looking at "runwait" and "shellexecutewait" but cannot get them to work. Any suggestions as to what I am doing wrong or what the proper syntax would be? Thanks - cyberal
×
×
  • Create New...