guard
December 6th 03, 02:11 PM
"Richard N. Simonsen" wrote
> Is there any suggestions for converting batch files used with previous
> versions of windows so they will work with XP? What do you use with XP
> to accomplish the same function?
> I have a number of applications using batch files and QBASIC that I
> need. Some commands just arn't there for example DELTREE.
> Is there any recommended solutions or substitutions for the function?
> Is there another news group or links to sites that would help?
> Thanks for you help
> Richard
>
The builtin RD (Remove Directory) command will do what you need.
Use the /S (subdirectories) switch
RD /S [drive:]path
*******
For more information and a comparison of this command
under NT, 2K, XP and K3, see the "RD Page" at
(http://TheSystemGuard.com/TheGuardBook/CCS-Int/RD.htm)
*******
You will also want to take a look at TheGuardBook,
Online Reference for Cross-Platform Shell Scripting at
(http://TheSystemGuard.com/TheGuardBook/CCS-Int).
All the commands internal to cmd.exe are documented
here in "Mounted Help" pages. This includes a
color-keyed page highlighting the differences
among all internal commands in NT/2K/XP/K3. The
"Common Help" from each OS's help screen is also
available for comparison.
*******
-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!
> Is there any suggestions for converting batch files used with previous
> versions of windows so they will work with XP? What do you use with XP
> to accomplish the same function?
> I have a number of applications using batch files and QBASIC that I
> need. Some commands just arn't there for example DELTREE.
> Is there any recommended solutions or substitutions for the function?
> Is there another news group or links to sites that would help?
> Thanks for you help
> Richard
>
The builtin RD (Remove Directory) command will do what you need.
Use the /S (subdirectories) switch
RD /S [drive:]path
*******
For more information and a comparison of this command
under NT, 2K, XP and K3, see the "RD Page" at
(http://TheSystemGuard.com/TheGuardBook/CCS-Int/RD.htm)
*******
You will also want to take a look at TheGuardBook,
Online Reference for Cross-Platform Shell Scripting at
(http://TheSystemGuard.com/TheGuardBook/CCS-Int).
All the commands internal to cmd.exe are documented
here in "Mounted Help" pages. This includes a
color-keyed page highlighting the differences
among all internal commands in NT/2K/XP/K3. The
"Common Help" from each OS's help screen is also
available for comparison.
*******
-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!