This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 401. |
Solve : Delete by date modified? |
|
Answer» What is the command to delete files by date modified? Reply #1 will find the files older than five days. Why not just tell forfiles to delete the files older than 5 days? I know you like redirecting, Bill, but it is not necessary in this case. I suspect Bill just found out about forfiles and logged in as a DIFFERENT user to ask a "question" that he could proceed to "answer" as donald99, who therefore won't complain that his question was not answered properly. The original question asked how to delete all files in a folder older than 5 days. Bill showed how to use forfiles to make a file containing a list of .bat files in a folder and all subfolders under it, that were older than 4 days. He then issued a vague suggestion to "use a for loop" to delete those files. Ah the "for loop" - forever beyond Bill's comprehension. However it may be that somebody sometime might really want to know how to use the forfiles command to delete files older than a certain age (Google please index here!). This can be done all in one line so a script may not even be necessary. Let's build the command... 1. We type forfiles and a space (which you can't see yet, but it's there. Trust me.) FORFILES 2. Next we add the /M switch with a file mask to show what files to delete - "all files" was asked for so we use *.* and another space. FORFILES /M *.* 3. Next we add the date switch /D with a space and then a negative number and then another space. This number tells forfiles to select files with a modified date less than or equal to today's date minus that number of days. This means that if you put /D -5 you will select all those files which were modified more than 4 days ago. So take care here. Since the OP asked how to delete files "with a modified date older than 5 days", the correct number would be -6. FORFILES /M *.* /D -6 4. Now we add the /C switch and a space to tell forfiles that what is coming next is a command string. FORFILES /M *.* /D -6 /C 5. At last we can specify the command which we want to perform on these selected files. To delete the file we specify CMD with the /C switch, followed by a space then DEL and a space and finally FILE and we put the whole lot in double quotes. FORFILES /M *.* /D -6 /C "CMD /C DEL FILE" There you are. Finished. Although I have used upper case in fact you can use lower case, or a mixture. Quote from: Salmon Trout on December 19, 2010, 01:52:11 AM Why not just tell forfiles to delete the files older than 5 days? I know you like redirecting but it is not necessary in this case. I was unable to test the delete function of forfiles. But it should work. Thanks for the suggestion p.s The for loop is an option. Quote from: donald99 on December 19, 2010, 04:13:46 AM I was unable to test the delete function of forfiles. But it should work. Oh right! It should work. That is reassuring. Did Bill Gates tell you that himself? You don't mind me calling you Bill, do you? Quote from: Salmon Trout on December 19, 2010, 04:14:47 AM Salmon Trout, Please show us the CODE and an output sample for the "delete by date modified" forfiles code. Thanks for your help. p.s. forfiles /? Quote from: donald99 on December 19, 2010, 04:21:09 AM Salmon Trout, I already showed the one line of code. There is no "output". Maybe time to lock this thread, prior to banning Bill again? Quote from: Salmon Trout on December 19, 2010, 04:07:57 AM The original question asked how to delete all files in a folder older than 5 days. Salmon Trout, Where is a sample of FORFILES /M *.* /D -6 /C "CMD /C DEL FILE" output? Quote from: donald99 on December 19, 2010, 04:33:00 AM Salmon Trout, There isn't any. The "output" is the deletion of the files. Please quit trolling. ST wrote: "There isn't any. The "output" is the deletion of the files." Maybe a notice from the OS that the files were deleted successfully? p.s. OS means Operating System Quote from: donald99 on December 19, 2010, 04:51:41 AM
Well, I leave that as an exercise for the reader. In any case deletion can be verified by inspection. Or by running the command a second time and verifying that the message "ERROR: No files found with the specified search CRITERIA." is seen. Or by doing DIR before and after. Successly? What language is that? What part of "please quit trolling" did you fail to comprehend? You wanted output... Code: [Select]S:\Test\forfiles-del>forfiles /M *.* /D -6 /C "cmd /c echo delete fdate file & del file" delete 07/12/2010 "TestFile001.zip" delete 07/12/2010 "TestFile002.zip" delete 08/12/2010 "TestFile003.rar" delete 10/12/2010 "TestFile005.exe" delete 03/12/2010 "TestFile006.PDF" delete 06/12/2010 "TestFile007.nzb" delete 06/12/2010 "TestFile008.nzb" delete 13/12/2010 "TestFile009.nzb" delete 07/12/2010 "TestFile010.zip" delete 11/12/2010 "TestFile011.nzb" delete 05/12/2010 "TestFile012.nzb" delete 10/12/2010 "TestFile013.nzb" delete 03/12/2010 "TestFile016.PDF" delete 03/12/2010 "TestFile017.PDF" delete 10/12/2010 "TestFile019.zip" delete 01/12/2010 "TestFile020.zip" delete 11/12/2010 "TestFile024.zip" delete 05/12/2010 "TestFile025.zip" delete 01/12/2010 "TestFile027.zip" delete 05/12/2010 "TestFile028.exe" delete 11/12/2010 "TestFile029.exe" S:\Test\forfiles-del>forfiles /M *.* /D -6 /C "cmd /c echo delete fdate file & del file" ERROR: No files found with the specified search criteria. S:\Test\forfiles-del> Define Troll: "Online false statement used as Internet lure: a carefully worded but incorrect statement that is designed to lure other Internet users into sending responses." http://www.bing.com/Dictionary/search?q=define+troll&FORM=DTPDIA&qpvt=define+troll p.s. I cannot find any posts by Donald99 that fits the above definition |
|
| 402. |
Solve : Extracting chosen characters from command's results? |
|
Answer» Hello, Wow, copying a file a single byte at a time. That's efficient. I mean it would work here, but on the other hand, java!=batch so it doesn't really meet their needs.true , java is not batch. However, put the java statement inside a text file, name it with extension .bat, and its called a batch. ! Quote Code: [Select]echo off are you serious? you are appending the current date time to the destination file contents. don't think its what OP wants. Quote from: ghostdog74 on December 24, 2010, 06:50:47 PM true , java is not batch. However, put the java statement inside a text file, name it with extension .bat, and its called a batch. !java statements don't work in text files. and you cannot pass a .java file with the java or javaw executables. now if you use the compiled version, that would work, so one would need to either compile the provided java code using javac from the JDK (which of course requires downloading the JDK) download and use the attached class file (which requires trust of the poster that the .class is actually the compiled equivalent of the .java provided, not that there is any reason to think otherwise) and so forth. All this for a rather inefficient SOLUTION (well, ok, so the copy can easily just be replaced with a more appropriate java.nio implementation that uses chunks) Quote are you serious? you are appending the current date time to the destination file contents. don't think its what OP wants.you're right... didn't read the OP quite thoroughly enough, they want the modification date of the original file. Batch has some goofy way of doing that with that weird tilde string manip or whatever it does... I think. Damned if I know, I stay away from the really freaky batch stuff like that whenever I can. But I'm not sure if it would work to add to the filename (it's sort of hard to tell if that's what they want or wether they want it appended to the end of the logfile itself... they both sort of make sense), since it might have evil slashes in the date... (the java example works around that by providing it's own format.) Quote from: BC_Programmer on December 24, 2010, 07:06:45 PM java statements don't work in text files. and you cannot pass a .java file with the java or javaw executables. now if you use the compiled version, that would work, so one would need to either compile the provided java code using javac from the JDK (which of course requires downloading the JDK) download and use the attached class file (which requires trust of the poster that the .class is actually the compiled equivalent of the .java provided, not that there is any reason to think otherwise) and so forth. All this for a rather inefficient solution (well, ok, so the copy can easily just be replaced with a more appropriate java.nio implementation that uses chunks)i am not a Java advocate, but I do know that it doesn't matter. What matters is if OP has no worries about using the solution, then its his business. Its not for me or you to judge whether its right or wrong. Quote All this for a rather inefficient solutionWhenever such a statement is mentioned about inefficiency, its better to provide a benchmark to prove what you said is correct ( as pertaining to this particular case). Otherwise, its better not to assume that one thing is better than the other. Quote from: ghostdog74 on December 24, 2010, 07:25:11 PM Whenever such a statement is mentioned about inefficiency, its better to provide a benchmark to prove what you said is correct ( as pertaining to this particular case). Otherwise, its better not to assume that one thing is better than the other. I don't need a benchmark. Copying a file a single byte at a time will be slower then copying it in larger chunks. It's common sense. Quote from: BC_Programmer on December 24, 2010, 09:14:18 PM I don't need a benchmark. Copying a file a single byte at a time will be slower then copying it in larger chunks. It's common sense.thanks for your comments. i did not design the code with inefficiency in mind. It can certainly be changed using BufferedInputStream/BufferedOutputStream which will be more efficient than copying byte by byte, or using NIO. I've kinda never seen such an offtopic So let's define my problem again, i've attached command and result to post. I want to extract circled characters from output to some variable, then use that variable for creating new name of debug.html i just do not remember how to CHOOSE those characters. [recovering disk space - old attachment deleted by admin]echo off for /f "delims=" %%A in ('dir .\debug.html ^| find /i "debug.html"') do set line=%%A set line=%line:~0,10%%line:~12,2%%line:~15,2% Thats not way i remember i was doing, but works too, thanks alot Quote from: drag0nius on December 25, 2010, 08:20:33 AM Thats not way i remember i was doing I am sorry it doesn't look like you remember, but nevertheless this is how to extract a substring from a text string: we use the notation %variable:~X,Y% where X and Y are numbers. X is the offset from the start, (so to begin with the first character we use 0 (zero) ) and Y is the number of characters to take. |
|
| 403. |
Solve : net use with a %1? |
|
Answer» Hi System error 53 has occurred. 1. Try a CAPITAL letter for the drive letter Z 2. Do not put a space after the Z Quote but there is still the option I'm not too convinced about.... What does this mean? Quote from: Salmon Trout on December 21, 2010, 01:33:56 PM 1. Try a CAPITAL letter for the drive letter Z give me the system error 67 Quote from: Salmon Trout on December 21, 2010, 01:33:56 PM Quote from: metal_man77 on December 21, 2010, 01:21:58 PMbut there is still the option I'm not too convinced about....What does this mean? I meant the net use option... with the % attibute.... UPDATE : I found what was causing the error... I cannot SIMPLY have a share of a computer, I must have a share of a folder on that computer ! UPDATE2 : IT'S ALIVE !! It works as I want it to work !! thanks a bunch ^^ Quote 2. Do not put a space after the Z This was wrong. Quote from: Salmon Trout on December 21, 2010, 02:56:43 PM Quote from: Salmon Trout on December 21, 2010, 01:33:56 PM2. Do not put a space after the ZThis was wrong. No.. it was how I was making use of the ne use command.... I found out that you cannot simply map à drive to a computer, you MUST map it to à shared folder of that computer !! Ex.: [WRONG] net use X: \\computer1 [ RIGHT ] net use x: \\computer1\folder1 |
|
| 404. |
Solve : How to pass argument containing quotes to batch script? |
|
Answer» Hi Friends, This is obviously homework. Oh well though.WOW! This is the first time I saw BC pass an argument! Thank you for the lesson BC_P. I've noted that using %* allows for more than 9 variables to be used without the Shift command. D. Quote from: BC_Programmer on December 10, 2010, 08:23:34 PM This is obviously homework. Oh well though. Hi BC_Programmer, Thanks! BTW, how to judge if the passed auguments equal to I said, "you are so beautiful!" in demo.bat file. Code: [Select]If "%*"=="you are so beautiful!" (echo Why thank you!) else (echo You know I'm beautiful, you just won't SAY it!") |
|
| 405. |
Solve : HELP with simple ms dos batch program? |
|
Answer» I am not to familiar with ms dos so please have patience. I am not to familiar with ms dos so please have patience. Append data files to each other? Code: [Select]echo data2.txt >> data1.txt | sort echo data*.txt>> data1.txt | sortThanks that HELPED |
|
| 406. |
Solve : how to create a directory based on date? |
|
Answer» I would like to know how to create a directory using md command with the following format : DDMMYYYY I don't know how to do it. 1. Open a command window. 2. Type echo %date% at the prompt and HIT Enter. 3. Tell us what you see, preferably by copying and pasting If you do not do this we cannot help you. I see the following: Wed 12/29/2010 Code: [Select]for /f "tokens=1,2 delims= " %%A in ('echo %date%') do set dpart=%%B set foldername=%dpart:~3,2%%dpart:~0,2%%dpart:~6,4% MD "%foldername%" |
|
| 407. |
Solve : Netsh - Wireless Creation (Ad Hoc)? |
|
Answer» Ok so im searching for a WAY on windows 7 to create an Ad-Hoc network, via the command line interface. |
|
| 408. |
Solve : Looking for >file.txt alternatives? |
|
Answer» Is there any other way to extract the output of a command in batch file to txt without USING >file.txt Thanks for your reply... Study carefully the command and all will be CLEAR. I only told you about it 17 minutes ago. Read, learn, consider and practise. Please show your command in a script and I will try to help. Please show your command in a script and I will try to help. Quote from: FahadOnline on December 28, 2010, 03:07:53 AM Is there any other way to extract the output of a command in batch file to txt without using >file.txtno, in batch, to write to a file, you have to use the output redirection operators, >> (append mode) or >. Even if you use the for loop to get the output of the command, if you want to save the output to a file, you will still need the redirection operators. Most programming languages other than batch, will have file i/o facilities for you to open a file handle, write to it, and closing the file handle after writing. |
|
| 409. |
Solve : Finding file in C:\ drive? |
|
Answer» How could you have a batch file that can start a program that's placed ANYWHERE on the User's account? Lela: read the requirements listed. You'll find that dir /s does not meet them. I believe you are right. The Original Poster and all interested readers will use your solution.I could not find the BC solution of how to find a file?Billrich destroys another thread. Quote from: Salmon Trout on December 27, 2010, 05:46:16 PM cd /d C:\ & for /f "delims=" %%A in ('dir /b /s "file.txt"') do start /d "%%~dpA" file.txt The above is a sophisticated solution to a very simple problem. KISS ( Keep It Simple Sam ) cd \ dir /s file.txt Quote from: GingerRogers on December 28, 2010, 01:45:57 PM The above is a sophisticated solution to a very simple problem. ... and comes back and does it again. Ginger, why did you stop dancing with Red Adair?* You have not understood the OP's question: find the file and start it, supplying its folder name as a parameter to the start command. *Yes, I know... Probably time to lock. If the OP wants to use my script sample and has queries they could PM me. This Billrich problem really needs sorting out. Quote from: Salmon Trout on December 27, 2010, 05:46:16 PM cd /d C:\ & for /f "delims=" %%A in ('dir /b /s "file.txt"') do start /d "%%~dpA" file.txt This works great, but it does take a while :/ Quote from: GingerRogers on December 28, 2010, 01:45:57 PM The above is a sophisticated solution to a very simple problem. This one locates the directory of the file but how could you make it open it up once it has found it?When a text file is at commamd prompt or on a line by its self, notepad will open the file automatically Code: [Select]echo off cd \ dir /s /b %1 dir /s /b %1 > c:\test\displaytxt.bat cd c:\test\ c:\test\displaytxt.bat Output: c:\test> findtxt.bat file.txt c:\folder\file.txt c:\test> One line vs. six lines...hmm, they both do the same thing, but one line is better. Quote from: Helpmeh on December 28, 2010, 08:10:35 PM One line vs. six lines...hmm, they both do the same thing, but one line is better. Are you sure? The original poster mentioned how slow the one line is. Quote from: Teacher on December 28, 2010, 09:13:17 PM The original poster mentioned how slow the one line is. Dir /s on the system drive is going to be slow whichever way you package it, Bill. Why haven't you been banned YET? |
|
| 410. |
Solve : Sequential Execution of batch files? |
|
Answer» Hi, |
|
| 411. |
Solve : Mandatory reboot, stuck in A:>??? |
|
Answer» A moms computer question..... She downloaded something pertaining to accesing and Ecard online, and it asked her to reboot her computer. Apon POST she was stuck in dos at the A:>?? Nothing worked, no cd's ( changing Dir) couldn't get to start windows. It did suggest a few things from a list, but nothing WOULD work. Almost as if there was nothing there on the hard drive. Trying to boot from a recovery disk didn't even work. I am sooo lost. This is way past my experinces. Can someone atleast point to a direction of releaf?? lol |
|
| 412. |
Solve : how can I connected to another machine?? |
|
Answer» Hio... But when the PC(s) are connected to the network, you shoud have access to the network..... It appears as a folder in my computer if I'm correct... okey... IF I TRY IN WIN 98 WITH... \\SERVER\LASERJET1 I NEED TYPE A USERNAME & PASSWORD RIGHT?.... I WANT FIX THIS STEP AND "LOG IN" FROM A WIN98 WITH A BAT... it is home network from xp. laptop to Me. desktopArman..... This is an office network..... I think you have the wrong forum... [glb]Flame[/glb]how is this setup?.....dcc.....or ics?lan based vpn?more info needed to SOLVE this riddle..I use Win 2000 in a Symple LAN... I need share my printers with 5 users (they have WIn98....) each time when I restart my Server I need LOG IN again & again in each terminal with win 98. hibernate the server.......go into the my network places icon and use the wizard to setup printers files etc...a server should not really be switched of! that what it does serve?? |
|
| 413. |
Solve : Extra code in FOR/IN/DO command? |
|
Answer» Hope someone can help..I know some batch programming but I have recently had a batch file that had the following code FOR /F "tokens=1,2,3* delims= " %%A IN (%userdata%) Do echo %%A in a FOR/IN/DO command...... can someone explain what does /F "tokens=1,2,3* delims= " do and where to find reference to this extra code...I have the book Special Edition Using DOS 6.22 2nd Ed but can't seem to find it ANYWHERE??? Thanks from what i can gather is renames a FILES to the date/time..Thanks for the response but I get the feeling that the bit of code I referred to has something to do with the FORMAT of the file read in?? Anyone??info>>>have a look under for>>>>>.http://www.plympton.info/personal/doscommands.htmlThanks for that REPLY... that explains the goods. Looks like I need a DOS book that covers Windows NT to get info on Command EXTENSIONS and how to ENABLE them!! |
|
| 414. |
Solve : Batch files & my network? |
|
Answer» I have a question about a network and a batch file... |
|
| 415. |
Solve : Task Manager open? |
|
Answer» Does anyone KNOW how to open the task manager with the command prompt window? Any help would be greatly appreciated. |
|
| 416. |
Solve : Partitioning Problem? |
|
Answer» Any One Help me |
|
| 417. |
Solve : 1 simple question about a batch file.? |
|
Answer» Hello, |
|
| 418. |
Solve : How to get out of MS Dos mode? |
|
Answer» I have an HP Pavillion, Windows 98. I restarted my computer in the MS Dos mode accidentally. I have typed win and it ASKS if I want to GO to the Windows Application, I enter to accept. It reboots and COMES up back in the MS Dos mode. What command do I need to type to get back to windows applications? either cls or exit typed after the c:\windows prompt |
|
| 419. |
Solve : get file name in ms-dos batch program? |
|
Answer» hi? how are you? |
|
| 420. |
Solve : change icon of batch file? |
|
Answer» how to CHANGE ICON of BATCH file in win2kMake a shortcut to it and change its icon. How to change a batchfile's own icon... I do not THINK it is possible. |
|
| 421. |
Solve : Extraction of path extensions in FOR loop? |
|
Answer» Hi *, |
|
| 422. |
Solve : assign variable name to file? |
|
Answer» Hi, i want create a simple text file with MD, i would like to assign a specific name, example: |
|
| 423. |
Solve : how to get file name in ms-dos?? |
|
Answer» hi? how are you? |
|
| 424. |
Solve : how to open the print dailog for IE? |
|
Answer» Hi all |
|
| 425. |
Solve : Setting File Pointer to BOF from Batch File? |
|
Answer» I have searched the site using the string "dos batch bof eof" without success. |
|
| 426. |
Solve : Truncating in a batch file? |
|
Answer» HELLO. I am trying to figure out how to TRUNCATE a variable to only 8 CHARACTERS. I need to be able to assign only the first 8 characters of %username% to a variable in a batch file. Does anybody have any IDEAS? It shouldn't be that hard, but I can't seem to find any information about it.Try this: CODE: [Select]set t=%USERNAME:~0,8% Cheers, [glb]cs[/glb] |
|
| 427. |
Solve : Error message in a batch job? |
|
Answer» I MAKE same VBA transaction written in a “word.doc”. I start this word.doc in a BATH job. |
|
| 428. |
Solve : XP DOS uppercases diskette file names? |
Answer»
|
|
| 429. |
Solve : Starting a bathc file at every start up?? |
|
Answer» I have a question.... ?... I would like to start my batch file at the start up of my computer each time I turn it on.. ? what command would help me do that..? If not a command then Help me with what i need to do.... thank you very MUCH..You can PUT a "Call" STATEMENT in your autoexec. bat file. |
|
| 430. |
Solve : Deleting Profiles with a Batch File? |
|
Answer» I was looking for a solution to my problem on DIFFERENT websites and I couldnt find ANYTHING useful so I figured I would see if anybody knew how to here. Im running Windows 2000 Professional and I would like to know if anybody KNOWS how to DELETE user profiles but leave or copy certain ones back. All Users, Administrator, and src are the folders that I dont want DELETED. If anybody could help it would be much appreciated ^_^ |
|
| 431. |
Solve : ipconfig /renew error? |
|
Answer» Hey all, |
|
| 432. |
Solve : Extracting a number in an XML string?? |
|
Answer» I've been playing with SUBSTRING and for LOOPS with no luck so far. How do you EXTRACT a number inside an XML tag. |
|
| 433. |
Solve : config.sys help? |
|
Answer» I have DOS 7.1 and have gone to their site to try and find out how to edit config.sys but I couldn't figure it out. |
|
| 434. |
Solve : dos games won't work second time? |
|
Answer» I have Doom, Rise of the Triad(rott), and Duke Nukem 3D. I go to run Doom for the first time, and it works fine. Then I install and run Rise of the Triad and it works fine. When i go to run Doom after this, it won't play and says "Game mode indeterminate". After this I try to play rott but it won't play and says "W_InitFiles: no files found". If I install doom again, i can run it just fine till I try to run rott. Duke Nukem will run no matter what, but if i install doom, run duke, and then try to run doom it won't work etc. |
|
| 435. |
Solve : Weird error message...???? |
|
Answer» Hi there... I know next to nothing about computers... There's what I assume to be an error message that keeps popping up on my screen that reads "C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows aplications. Choose 'Close' to TERMINATE the application." When I hit "close", the message goes away for maybe 10 or 20 seconds, and if I hit "ignore" the same thing happens... this doesn't seem to be getting in the way at all... EXCEPT the error message can't be put into the background... I just have to drag it off the screen and leave it... any SUGGESTIONS WOULD be appreciated.Go to this site: http://support.microsoft.com/default.aspx?scid=kb;en-us;324767 .... When it says to insert the "CD", it wants the Windows CD.... LET me knw if you have any questions.... |
|
| 436. |
Solve : Phantom Directory Name? |
|
Answer» operating system Win2k |
|
| 437. |
Solve : Batch File Leaves Boxes on Desktop After Exit?? |
|
Answer» OS is Win98SE |
|
| 438. |
Solve : help software?? |
|
Answer» hey well im up in a lesson at the mo tryin to sort out this software QUIZ can NE1 tell me some QUESTIONS and ANSWERS http://computer.howstuffworks.com/software-channel.htm |
|
| 439. |
Solve : Language commands....? |
|
Answer» HMM.. i seem to be having a problem....i am trying to program my keyboard language to whatever language.. i have tryed a few.. I typed in the command.. and i got the MESSAGE "Not a recognizeable command" with is not my problem.. Then i typed in the whole path, to where i would find the settings for my languages. and it seemed ti work.. because no message popped up.. and i am posative i am usuing the right command.. but nothing happens... No changes have been made.. I restarted my comp. THINKING it would work.. But it didn't... thanks alot for the help... ( I got this info out of a DOS manuel ) so i am PRETTY sure it is right... I am just doing something WRONG... thanks, Me.http://academic.cuesta.edu/rsutter/keyboard.html |
|
| 440. |
Solve : How to use a batch to convert multiple files? |
|
Answer» How to write a batch to run a program to change all the FILES in ONE folder to a different FORMAT? |
|
| 441. |
Solve : batch file output to screen and text file? |
|
Answer» Hi, |
|
| 442. |
Solve : Close MS-DOS Window while executing application? |
|
Answer» Hi, |
|
| 443. |
Solve : shut down time? |
|
Answer» this is how i called a program to stamp the time i opened my computer session |
|
| 444. |
Solve : Accessing c:? |
|
Answer» hi how can i ACCESS c: from does? i tried USING a winxp BOOT disk and reach till a: and then i try to access c: and it says invalid directory..Which OS are you using?TYPE c: |
|
| 445. |
Solve : MS DOS Boot disk? |
|
Answer» I am trying to create a boot disk with a menu. The code I have seems to work fine on my 2000 desktop command prompt, but when I make a boot disk and try to run the same menu it starts ok, but fails shortly there after. |
|
| 446. |
Solve : Switch to administrator in batch file? |
|
Answer» I'm trying to make a startup batch file to open a PROGRAM from all users in my SCHOOL district. The problem is I have to be administrator in order to install the program. Is there a way to switch to administrator from within a batch and switch back while the computer is LOGGING in? |
|
| 447. |
Solve : MS-DOS FTP ...how to configure FTP transfer rate?? |
|
Answer» Hi How are you? |
|
| 448. |
Solve : Files older than supplied date? |
|
Answer» I need advice on how to create a bat file that will find files LESS than a specific date (date to be passed as a PARAMETER) for a specific directory and all of its' subdirectories.here is a beginning thought |
|
| 449. |
Solve : how 2 change directory if it name is j2sdk1.4.2_04? |
|
Answer» please send me this reply as shown as possible |
|
| 450. |
Solve : batch file to copy a file from one folder and past? |
|
Answer» Hello, |
|