Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by holidayIT

  1. holidayIT

    script takes forever to run

    sorry, i forgot baou chr(34). i am dumb.
  2. holidayIT

    script takes forever to run

    i have a new issue. when i run the xcopy command, it doesn't put the file in the program files folder, it makes a new folder called program_files any ideas?
  3. holidayIT

    write to file not working

    I have a japplet program, and i need it to take a hashmap and write it to a file (plain text file works). I am using bufferedwriter and filewriter, but the japplet hangs when that line is executed. does anyone know why??? here is my code: try { File outputFile = new...
  4. holidayIT

    ping workstation kinda works, but not really

    I fear this script will never work. I have a script that pushes a file to a list of workstations. i ping the workstation before i copy in order to keep the script from crashing. however, if the ping time out takes too long or expires in transit, the script locks up. it doesn't crash, it just...
  5. holidayIT

    script takes forever to run

    i never thought of that. thanks. now i just have to clean it up and debug some other issues (but i know what those are). thanks
  6. holidayIT

    command prompt closes too fast

    it is now finished, and working. please see thread329-872632 for solution. thanks to all of you, for your help.
  7. holidayIT

    script takes forever to run

    I GOT IT!!!!!!!!! and of course, it was because i am an idiot. the destination folder was program files. but xcopy needs it to be program_files because its command prompt. i will more than likely feel pretty dumb as soon as the high of success and completion wears off! Thanks to everyone...
  8. holidayIT

    script takes forever to run

    sorry, i posted wheil you guys were posting. i am trying it without the mapped drives, and it's giving me a command prompt with "invalid number of parameters" i am trying to see if my xcopy has an extra space in it somewhere, but i do not see it. the code i am now using is this: Call...
  9. holidayIT

    script takes forever to run

    let me correct that. it wouldn't work for the folder the file was in, i just did an xcopy with the file in the root of the fileserver, and it worked! let me try the script w/o mapped drives.
  10. holidayIT

    script takes forever to run

    you mean, just enter the xcopy command by hand into command prompt? it once told me unc was not supported, but now it tells me file not found for the file i using. but i double checked, and the file is there, so i am guessing that it goes back to unc not being supported.
  11. holidayIT

    command prompt closes too fast

    sorry, i added the slash just to check to see if i needed it. originally i did not have it. i was just trying little things to see if it would work. according to the few books i have, it looks like my code is right (without the slash), but i can't figure out why it won't work.
  12. holidayIT

    script takes forever to run

    The sourcedir is in a shared folder. It is available for all on the network. It shows up with the code you gave me (thanks btw - i can definately use that code somewhere else also). Even though i am not using those drive letters, might i have to remove all of my other mapped drives first? (i...
  13. holidayIT

    command prompt closes too fast

    i just gives me "device unavailable" when i do a getdrive on the mapped drive. no other error message. Here is my code(written with the help of numerous people, including markdmac and tsuji, as well as you, phv: On Error Resume Next Wscript.Echo "Beginning Script " ' define ADSI status...
  14. holidayIT

    command prompt closes too fast

    i actually discovered my problem. my draves are not mapping correctly. WSHNetwork.MapNetworkDrive "Q:", sourceDir,True i have tried putting "True" in quotes, i've added the admin password and username, and i even tried getting rid of the string variable and writing explicitly the drive that i...
  15. holidayIT

    script takes forever to run

    Thanks for the code, it's awesome. Now i know the problem is the mapped drives. they are not working, and i am not sure why. any ideas?

Part and Inventory Search

Back
Top