----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

Snapshot (cmdhelp for FREE Version)

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Snapshot .cmdHelp OutLine .cmdSrc .cmd :HEADER :PRELIM :SETUP :WORK :VERIFY :NOTIFY :FINISH :ERROR
Click an area from the above list to jump directly to that section.

  ^   =========================================================================
 /~\   Snapshot Advanced Release 2004.04.24 (Free from TheSystemGuard.com!)
/cmd\ =========================================================================

 Create a snapshot backup when a file changes.
_______________________________________________________________________________

TSG_Snapshot [/?] [drive:][path]FileToProtect [SafeLocation] [Interval]

SWITCHES:
 /? Display this help.

PARAMETERS: Default values are shown in {}'s
 FileToProtect A SINGLE file to protect (no wildcards!)
 [SafeLocation] Folder to hold snapshots {C:\!Snapshot}
 [Interval] Minutes between file checks {5}

ERRORLEVELS:
 0 = Normal or expected finish.
 1 = Help screen was displayed.
 2 = Script exited with a known error. See %ErrorMsg% for details.
 3 = Script exited with an unspecified error.

NOTES:
 The SafeLocation folder will be created if necessary.

 TSG_Snapshot will stop monitoring after 10 successful snapshots have
 been taken, or after 4 hours of waiting time, whichever comes first.

 Interval time DOES NOT include time spent comparing and copying files.
 The Interval counter is reset at the beginning of each waiting period.
 Actual wait time is NOT PRECISE, and can overshoot by several seconds,
 depending upon system load (see the .Wait command).

 If any optional parameter is used, all optional parameters to it's left MUST
 be specified. For example, to use Interval, also specify SafeLocation.

 All Advanced Scripts (those prefixed with "TSG_") from TheSystemGuard.com
 REQUIRE the Advanced NT/2K/XP/K3 Command Library (ntlib.cmd). This library
 provides over 200 resources for writing, testing and maintaining RELIABLE
 shell scripts using only the native commands and utilities that are present in
 ALL NT-based operating systems. Write a script ONCE using ntlib.cmd and your
 script will perform CONSISTENTLY under Windows NT4, 2000, XP and Server 2003!
 Request your FREE copy of the Advanced Library today at (http://ntlib.com).

*******************************************************************************

 Snapshot Expert uses the enlarged "Expert Command Library" (NTCmdLib.cmd),
 enabling many additional command line switches and parameters. All Expert
 Scripts (those prefixed with "!") are complete, ready-to-run applications
 that do not require any commands or utilities not already present in every
 NT/2K/XP/K3 install. !Scripts are distributed uncompressed and are fully
 commented so you can quickly fashion them to your specific requirements.

 An example of what you're missing (from the help screen of !Snapshot.cmd):

SWITCHES: Default values are shown in {}'s
 /C    Compact window during run (size restored at Final Report). {off}
 /FP   FullPath (use the full path of FileToProtect in window title) {name.ext}
 /NV   NoVisual (don't change console colors to reflect operating status) {on}
 /P    Pause (pause console after Final Report) {off}
 /WF   WaitforFile (bypass error if FileToProtect does not exist) {off}

PARAMETERS: Default values are shown in {}'s
 [Warning_Trigger] Consecutive missed snapshots before warning. {1}
 [Error_Trigger]   Consecutive missed snapshots before error. {2}
 [MaxSnaps]        Maximum snapshots to take before stopping. {25}
 [MaxTime]         Maximum time (in minutes) to wait. {480} (8 hours)

!Snapshot.cmd provides a color-coded, self-adjusting console window to enable
at-a-glance monitoring of all running snapshots while using minimum desktop
real estate. We also include a ".reg" file to allow right-click access to the
!Snapshot script from inside Windows Explorer. Just highlight any file, then
right-click, and select "Protect with !Snapshot".

Both the Expert Command Library and !Snapshot are "Almost Free" at $9 or less!
See (http://TheSystemGuard.com/AlmostFree.asp) for The Almost Free Price List.

The VERY LATEST KNOWLEDGE pertaining to the Windows NT/2K/XP/K3 command line
can be found at TheSystemGuard.com. Check the MasterCatalog often for a
continually growing collection (http://TheSystemGuard.com/MasterCatalog.asp).
You'll learn to build RELIABLE and MAINTAINABLE shell scripts that will always
perform CONSISTENTLY on every Windows NT-based system right out of the box!
Don't forget our FREE KnowledgeLetter at (http://BoomingOrFuming.com) and...

         Congratulations On Your Decision To RISE ABOVE THE REST!!!
_______________________________________________________________________________

TSG_Snapshot [/?] [drive:][path]FileToProtect [SafeLocation] [Interval]
 

Snapshot .cmdHelp OutLine .cmdSrc .cmd :HEADER :PRELIM :SETUP :WORK :VERIFY :NOTIFY :FINISH :ERROR
/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\