What's wrong with this .bat file?

Discussion in 'Software' started by Kniht, Feb 6, 2006.

  1. Kniht

    Kniht Sergeant

    Am using ERUNT to backup my registry. In windows "Scheduled Tasks" I created a batch file to backup the registry at startup.

    This is the batch file I created for this purpose:

    AUTOBACK.EXE %SystemRoot%\ERDNT\#Date#/noprogresswindow /noconfirmdelete /days:7

    Everything works fine, runs on startup, backs up to appropriate folder, but even though I used the switch /noprogresswindow, I still get the progress window appearing on my desktop.

    What's wrong with this .bat file? :confused:
     
  2. Kniht

    Kniht Sergeant

    Alright, after staring at this cmd. line for half the night, figured what was wrong - needed a space between the # and /.

    Yeah, ANHEDONIC, another self help post! I guess posting on these forums makes me think! By the way, the homebrew is great! :)
     
  3. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    All depends if someone knows the answer, I may have read your thread but not going to answer with a guess if I dont know the answer, and as I have no need for .Bat files I wouldnt have a clue.

    but glad you fixed it and actually posted the fix, which many dont, so thanks :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds