NoTouchEdit

NoTouchEdit edits a file without updating its timestamp.

 > NoTouchEdit   FILE [/COPY] [/EDITOR:NoTouchEditRAM]

    FILE is the file to modify

    /COPY makes a copy of the file before editing, then copies the timestamp
from the copy to the modified file. Without this switch, the timestamp is
kept in a variable in memory instead, which requires less disk space and
doesn't add wear to the drive, but if the computer crashes in the moment
between the file being saved and its timestamp being restored, it'll be lost

    /EDITOR specfies the NoTouchEditram with which to open the file


  e.g.: > NoTouchEdit   x:\foobar.blah /copy /editor:c:\tools\baz.exe

        Makes a copy of "x:\foobar.blah" as "x:\foobar.blah.ntebak",
        opens "x:\foobar.blah" in "c:\tools\baz.exe" and waits until it
        is closed, restores the timestamp for "x:\foobar.blah" and
        deletes the backup "x:\foobar.blah.ntebak"

Changelog:
Show ▼