![]() Some are wont to call it "Command Prompt" but realists call it "DOS" since it's an emulator of MS-DOS. This creates an icon which when clicked will open the black screen of enlightenment. Take your evil mouse and click Start>Programs>Accessories and then right-click on "Command Prompt". I really believe that hiding people's mouses can force them to learn some fundamentals. ![]() The blah is crucial since knowing what it is would aid in debugging (a few lines only - filenames that should have been renamed and some that shouldn't).īut the major flag waving is "flash" which indicates that you are attempting to run this code from the desktop by clicking on it. No doubt you could replace this with 'dir /a-d/b' (including the single-quotes) if you wish.Īh - two important words here - "blah" and "flash". Q20492473.txt is simply the name of a file I used as source text from your sample data. IF NOT DEFINED ext SET "fname="&GOTO :EOF IF DEFINED fname (ECHO REN "%%a" "!fname!"įOR /f %%i IN ("%fname%") DO SET fname=%%~ni&SET ext=%%~xi
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |