Re: Search c drive and copy files of a certain extension



On Sep 24, 11:09 pm, "Pegasus \(MVP\)" <I....@xxxxxxxxxx> wrote:
"mayayana" <mayaXXy...@xxxxxxxxx> wrote in message

news:OJidHTkHJHA.1304@xxxxxxxxxxxxxxxxxxxxxxx

I always stand back in awe when someone finds a 70-line scripting
solution
to a standard maintenance problem that can be resolved in a single line
of
batch code. :-)

 Somewhere there's probably a Perl nut shaking
his head at your "verbose" DOS. Thankfully he's
not in this newsgroup.

Please do not put words into my mouth. While I'm aware that you like to call
the Windows Command Console "DOS" because it is a character-based
environment on a black screen, same as a unix console, I would never give it
that name. DOS was never even remotely able to do what the OP wanted to do.

a 1 line batch script wasnt really an option because user permissions
are pretty tight. so a VB script turned out to be a much better option
because it can search specific folders, and it has the option to
report back to the user on just how much over their h: drive quota the
script just put them.

Im all for quick and simple batch scripts, but this looked like a much
better option.

and this 'standard maintenance problem' isnt a maintenance thing at
all in this case, its a one off for users to run before we upgrade
their SOE because this is quicker than our user state migration tool.

and i have updated the script a little now too. The case statement
doesnt take up 38 lines any more, its just 5 now, and it reports back
how many files have been moved.
.



Relevant Pages

  • Re: Search c drive and copy files of a certain extension
    ... to a standard maintenance problem that can be resolved in a single line ... his head at your "verbose" DOS. ... a 1 line batch script wasnt really an option because user permissions ...
    (microsoft.public.scripting.vbscript)
  • Re: Bash Script (WAS:Re: Suse 9.3 on a desktop replacement)
    ... >> Unless, of course, it is a batch script... ... > This is a Linux group. ... Batch is DOS. ...
    (alt.os.linux.suse)
  • Re: Bash Script (WAS:Re: Suse 9.3 on a desktop replacement)
    ... > Unless, of course, it is a batch script... ... but I think the general gist here was of the DOS concept of ... Linux 2.6.8-24.17-default ...
    (alt.os.linux.suse)
  • Re: making a script
    ... batch command: executed successfully. ... I have used gimp's batch processing only slightly, ... You are using the batch mode to execute a scheme script ...
    (comp.graphics.apps.gimp)
  • Re: DOS Printing from Windows Server 2003 TS?
    ... STAT-NT03 is the TS server name. ... We will see if it works for the 5 remote users over the Internet. ... We have a customer who is still using and old DOS version of software ... could not find anything except a Kixstart script. ...
    (microsoft.public.windows.terminal_services)

Loading