Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

CP/M SWEEP

$
0
0

seems that the old CP/M command called SWEEP can still find a job.

the way it worked, it would use the syntax:

SWEEP DELETE *.BAK

which is roughly the same as del *.bak /s with the modern command prompt

now I will offer a more complex example

SWEEP RMDIR BACKUP

this time any directory called BACKUP is nuked

so.....

guess I need to clone SWEEP

int main( .////

/// check current directory

//recursive drill down?

}

so I can simply use the command line to pass the function directly

suggestions?


Corsair Carbide 300R with window
Corsair TX850V2 70A@12V
Asus M5A99FX PRO R2.0 CFX/SLI
AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
G.SKILL RipjawsX DDR3-2133 8 GB
EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
Asus PA238QR IPS LED HDMI DP 1080p
ST2000DM001 & Windows 8.1 Enterprise x64
Microsoft Wireless Desktop 2000
Wacom Bamboo CHT470M
Place your rig specifics into your signature like I have, makes it 100x easier to understand!

Hardcore Games Legendary is the Only Way to Play!


Viewing all articles
Browse latest Browse all 15302

Trending Articles