Batch File rookie with an idea - Page 2
Page 2 of 2 FirstFirst 1 2
Results 16 to 28 of 28

Thread: Batch File rookie with an idea

  1. #16
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    Robocopy is part of Win7 and Vista...

  2. #17
    Registered User Niclo Iste's Avatar
    Join Date
    Oct 2007
    Location
    Pgh, PA
    Posts
    2,051
    I never used it before and wasn't aware it was native to those OSes. Though it wouldn't help me on the majority xp machines I still service.

  3. #18
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    True, but it won't be long before you are going to be seeing a lot of Win7 machines, so you may as well play with it.

  4. #19
    Registered User Niclo Iste's Avatar
    Join Date
    Oct 2007
    Location
    Pgh, PA
    Posts
    2,051
    lol why must you always be right? I think I'm just a sucker for the old ways and that's why I'm so stubborn. Semi off topic but I'm trying to keep a collection of tools that would be handy in the command prompt and dos since I find they tend to be a more stable work around when infections and such arise. Sooner or later I'm going to attempt making a dos booting thumb drive just for fixing infections that way. Maybe I should start a thread asking how to do that. Or maybe there is something you can point me towards that might teach me neat dos commands and tricks. The biggest I'm interested in is how to utilize an active internet connection while in a dos environment to access and download updates or files I need.
    One Script to rule them all.
    One Script to find them.
    One Script to bring them all,
    and clean up after itself.

  5. #20
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    OK stop there.... you are confusing DOS (an operating system that had 7 major versions) and the command line available in the NT based OSes. Do not confuse the two... you will wind up in version hell.

    Unless you are doing a lot of 98 or ME, forget DOS and look up recovery console. Learn command line and powershell.

    Win7 gets sold for $50 for the next few weeks.... you are not going to get a lot of 98 and ME stuff....

  6. #21
    Registered User Niclo Iste's Avatar
    Join Date
    Oct 2007
    Location
    Pgh, PA
    Posts
    2,051
    I never had much success with the recovery console allowing me to explore the directory trees and move files around. So I always figured it was a limited environment. That's why I'm looking into most of this. Generally I'd rather fix the system without having to load the GUI/windows. It always was much easier back in the win98 days to start in dos and fix windows files. I'm trying to recreate that and have some extra utilities for newer systems.
    Last edited by Niclo Iste; June 25th, 2009 at 06:25 PM. Reason: added details

  7. #22
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    Well you can go to safemode command line, but it still is not DOS!
    Recovery console is limited - you can turn off services, copy or delete files, set attributes etc.

    here is a list for command line commands As you can see, it does a lot more than DOS ever did... but it is just that - command line version of what you can do through the GUI.

  8. #23
    Registered User El_Squid's Avatar
    Join Date
    Aug 2004
    Location
    Tornado Alley
    Posts
    2,079
    Gawds, I miss deltree!

  9. #24
    Registered User Niclo Iste's Avatar
    Join Date
    Oct 2007
    Location
    Pgh, PA
    Posts
    2,051
    You and I both El_Squid!

    By the way, thanks for replying to this I wasn't aware that NooNoo had put a link up for those commands.

  10. #25
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    Quote Originally Posted by El_Squid View Post
    Gawds, I miss deltree!
    rmdir [Drive:]Path [/s] [/q]

  11. #26
    Chat Operator Matridom's Avatar
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    3,778
    How about a linux Live CD or bootable USB stick with a *nix distro on it?

    It will read NTFS, by-pass all permissions, and you can script commands fairly easy in the bash shell. Finally, since it's *nix, it will probably be immune to the virus on the system you are cleaning.

  12. #27
    Registered User Niclo Iste's Avatar
    Join Date
    Oct 2007
    Location
    Pgh, PA
    Posts
    2,051
    Quote Originally Posted by Matridom View Post
    How about a linux Live CD or bootable USB stick with a *nix distro on it?

    It will read NTFS, by-pass all permissions, and you can script commands fairly easy in the bash shell. Finally, since it's *nix, it will probably be immune to the virus on the system you are cleaning.
    Hmm it's plausible but I need dos or the command prompt to run the antispyware and andivirus tools I have.

  13. #28
    Chat Operator Matridom's Avatar
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    3,778
    Quote Originally Posted by Niclo Iste View Post
    Hmm it's plausible but I need dos or the command prompt to run the antispyware and andivirus tools I have.
    I was making the assumption that if the system is so bad that you are resorting to a command shell to recover files, you would be re-formating the system.

    Also as it's been stated earlier, there is no DOS in windows 2k and beyond. With XP/vista, I would say the majority of drives are formated NTFS, that means that your boot disks to dos won't be able to read the drive regardless to clean.

    I find that if you can't clean it from inside of windows, the OS is too far gone to recover and you are re-installing.
    <Ferrit> Take 1 live chicken, cut the head off, dance around doing the hokey pokey and chanting: GO AWAY BAD VIRUS, GO AWAY BAD VIRUS
    -----------------------
    Windows 7 Pro x64
    Asus P5QL Deluxe
    Intel Q6600
    nVidia 8800 GTS 320
    6 gigs of Ram
    2x60 gig OCZ Vertex SSD (raid 0)
    WD Black 750 gig
    Antec Tri power 750 Watt PSU
    Lots of fans

Similar Threads

  1. Follow on from Ipconfig batch file: CMD prompt not working
    By clarinathan in forum Tech-To-Tech
    Replies: 7
    Last Post: December 16th, 2010, 09:48 PM
  2. Create a batch file for drive/print mapping
    By Irish Shark in forum Windows Server 2003 & Windows Home Server
    Replies: 1
    Last Post: June 15th, 2008, 03:41 PM
  3. Batch file help
    By Master Frodo UK in forum Programming And Web Design
    Replies: 1
    Last Post: August 21st, 2006, 10:34 AM
  4. Batch File Help
    By xazo in forum DOS
    Replies: 2
    Last Post: November 14th, 2005, 10:16 PM
  5. Batch file to print only 33 lines
    By oldsaltydog in forum Digital Imaging
    Replies: 3
    Last Post: May 31st, 2005, 05:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •