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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. scottohum

    VBScript Backup function

    ntbackup.exe i believe is the aplication that creates and restores backup files (.bkf) what i am wanting is a script that will create a backup file of C:\Documents and Settings\Email User\ntuser.dat That make sense?
  2. scottohum

    VBScript Backup function

    im looking for a script that will create a backup file (.bkf) of a specified file using the C:\Windows\System32\ntbackup.exe Can someone help me please. Thanks Scott
  3. scottohum

    VBScript Backup function

    im looking for a script that will create a backup file (.bkf) of a specified file using the C:\Windows\System32\ntbackup.exe Can someone help me please. Thanks Scott
  4. scottohum

    HTA VBS Restart service

    i am using the following script in a HTA to restart a service. But it will only stop the service and wont start it again. When i try it as an individual vbs it restarts the service no problem but once i put it into the HTA script it will only stop the service. Can someone please help?? 'Stop...
  5. scottohum

    Function Message Box

    from much research i understand that i really need to do this by HTA script but sadly my knowledge of HTA is very limited as its very new to me. could someone help me with the HTA script with "ON" and "OFF" button and returns a message on click of each button? sorry for my ignorance... Thanks...
  6. scottohum

    Function Message Box

    Im looking to get a message box similar to the yes/no function but it has an 'ON' button and an 'OFF' button. can anyone help please? Sorry i dont have much experience with message boxes. Thanks S
  7. scottohum

    Log and zip

    i am trying to make this script create a log of all files on C:\ and then zip the file. i can get the two functions to work individualy but when i try to put them into one VBS i get error on line32 char1 saying expected statement. Im sure its just something simple i have missed. Here's my...
  8. scottohum

    ZIP - create blank zip and copy file to

    i am trying to zip a file yousing the function shown at the end of this thread: http://www.tek-tips.com/viewthread.cfm?qid=1231429 i have tried the first part to crate the blank zip but i get error on line5 char1 saying path not found. Set Ag=Wscript.Arguments username =...
  9. scottohum

    Upload to FTP

    this is the code i have but its not uploading the file! Can someone tell me what im doing wrong? On Error Resume Next Dim MySite Dim myPath Set MySite= CreateObject("CuteFTPPro.TEConnection") MySite.Host = "ftp://username:password@ftpaddress/data/" MySite.Connect If...
  10. scottohum

    Upload to FTP

    im looking for a simple script that will upload a single file to an FTP server. Can anyone help me? Many thanks! Scotto
  11. scottohum

    Directory log

    Your help is much appreciated guys! sadly it got as far as the administrator folder and it came up with an access denied error. But this script worked for me in the end: Option Explicit Const FOR_READING = 1 Const FOR_WRITING = 2 Const FOR_APPENDING = 8 Dim objFSO : Set objFSO =...
  12. scottohum

    Directory log

    i get :-S: --------------------------- Windows Script Host --------------------------- Script: C:\Documents and Settings\Email User\Desktop\list.vbs Line: 17 Char: 5 Error: Object required: 'Subfolder' Code: 800A01A8 Source: Microsoft VBScript runtime error --------------------------- OK...
  13. scottohum

    Directory log

    this is what i have... but it seems to have a permisions problem: Set objFSO = CreateObject("Scripting.FileSystemObject") Const ForAppending = 2 Dim objFSO:Set objFSO = CreateObject("Scripting.FileSystemObject") LogFile = "c:\list.log" Dim objLogFile:Set objLogFile =...
  14. scottohum

    Directory log

    im looking for a VBscript that will list all directories, contents of C:\ ..... and save it as a .txt file. Can anyone help please? Thanks Scott

Part and Inventory Search

Back
Top