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.
| 2351. |
Solve : Can I replace certain text string in file?? |
|
Answer» Hello, |
|
| 2352. |
Solve : help please with MS DOS? |
|
Answer» When i try a smart RESTORE i get this message |
|
| 2353. |
Solve : How to test for empty file via script? |
|
Answer» How can I test via a DOS BATCH script if a file is EMPTY (zero bytes)? |
|
| 2354. |
Solve : Help-what does "2>&1" mean?? |
|
Answer» Hey,I am now working on a wince project. I OFTEN encounter "2>&1" in batch file. |
|
| 2355. |
Solve : DOS ?? |
|
Answer» I checked numerous of SITES, but I can not find the ANSWER. I checked all the sites that people have recommended in the last month. |
|
| 2356. |
Solve : trouble booting with boot disk? |
|
Answer» I have created a boot disk to boot it from MS_DOS. I copied the driver for Nic 3C905b for #com fast ether NIC in NETWORK FOLDER. Mapped those in protocol.ini. Also change in config.sys the driver name. |
|
| 2357. |
Solve : network driver in config.sys? |
|
Answer» My config.sys FILE says ET32ND is for KTI ET/32 Network Cards. I have a LNEPCI2 CARD or winbond W89c940F card and the computer is not seeing it. Do I need to change this LINE in my config.sys to see this card? Please help!! |
|
| 2358. |
Solve : i need help pls? |
|
Answer» hello |
|
| 2359. |
Solve : Dos Startup Sequence? |
|
Answer» i'm fixing this OLD computer up, and since some input devices are currently in need of REPLACING, i figured i'd throw the hd in to this compy (pentium 3 755mhz) and get all the stuff i need on there, on there. im putting MS-DOS 6.22 and Windows 3.11 on here, and all was going fine untill i installed dos. it told me to reset without any disks in the drives and it'd boot from the hd. it didnt. i checked bios, everything was set up rite, so i tried it again, but it got stuck where it WOULD normally read the boot device, be it the floppy or cd, or c:\. started up windows xp with the other hd as a slave, and it accessed it fine, and if i boot up with a ms-dos boot DISK, it is easily accessable. |
|
| 2360. |
Solve : Help with Batch files plz? |
|
Answer» I searched this sight and I could not find my answer I don't even KNOW if this is possable |
|
| 2361. |
Solve : got Downloader. Trojan-need HELP pls? |
|
Answer» Hi smart guys! |
|
| 2362. |
Solve : batch file doesn't work on winXP_pro machine? |
|
Answer» content batch file: |
|
| 2363. |
Solve : Copying files from DOS to CD? |
|
Answer» I have an OLD computer and can't run windows properly and want to get some FILES off of it. I was WONDERING if its possible to COPY or move files to my CD writer from my C:\ drive while in DOS?Not without some DOS burning software. EASIER to remove the hard drive, install it into your new computer, then copy the files you want. Then use the old hard drive as a backup.Thanks for the reply. What kind of DOS burning software is out there? |
|
| 2364. |
Solve : Var name for new folder creation? |
|
Answer» Here is what I have so far and it works. So the help pages here have done me some good. But I WOULD like to be promped for a file name before the rest of this runs and that file name be the name that the "temp" directory is. So that temp dir is not OVERWRITTEN. "we have been deleting eachothers work on accident" Any help would be apriciated even if its just being pointed to some examples. I did go thru the ones on this site and did not see any that looked like they applied. |
|
| 2365. |
Solve : MSDOS PROBLEM??? |
|
Answer» I get this POP up on alot of things i try to INSTALL and im REALLY CONFUSED here, someone please help me. http://support.microsoft.com/default.aspx?scid=kb;en-us;324767 |
|
| 2366. |
Solve : How to run a batch file to Delete entries in *.ini? |
|
Answer» Dear ALL, |
|
| 2367. |
Solve : count filename characters? |
|
Answer» Hi Everyone |
|
| 2368. |
Solve : Dos equivalent of UNIX "&"? |
|
Answer» Hello, |
|
| 2369. |
Solve : Batch file creating other file? |
|
Answer» I need to create batch file that copies files from one network folder to ANOTHER one. The syntax is: |
|
| 2370. |
Solve : Help Me pls... %username%? |
|
Answer» As you KNOW TYPING %USERNAME% in the command prompt will return you the user's login id, now i would LIKE to try retreiving the user's DISPLAY NAME. Is there a %_____% for it? Please help me! Thank you! |
|
| 2371. |
Solve : Urgent -how to make an excel file with file list?? |
|
Answer» I want an excel file which should contain the list of file NAMES of one perticular folder in hard-disck. How do I get this? |
|
| 2372. |
Solve : Renaming with Unique Name? |
|
Answer» Our shop is standardized on WIN2K. I've been tasked to write a batch file that will archive a given file to a specific directory each day at a specific time. Seems EASY using win2k "schedule task" executing a DOS batch file with REN or RENAME, but how do I assure that the archived file name is unique each time the batch file is run. Can I somehow append a timestamp to the name each time?You can insert the date and time into a filename using the %date% and %time% environment variables. |
|
| 2373. |
Solve : Can I do a virus scan with dos?? |
|
Answer» Can I SOMEHOW do a VIRUS SCAN on dos. I have Norton Antivirus 2004.See if you have a file called navdx.exe in your Norton FOLDER. This is the DOS scanner.If Norton lames out on you, F-Prot.com OFFERS their DOS-level virus protection as a freebie. |
|
| 2374. |
Solve : laptop hard drive formatting help.? |
|
Answer» Hi all, |
|
| 2375. |
Solve : !!!!!!!PLEASE HELP!!!!!!!? |
|
Answer» Hi, |
|
| 2376. |
Solve : bat to close windows program? |
|
Answer» Probably easy but I've searched for over an hour and am TIRED.... |
|
| 2377. |
Solve : Counting with variables? |
|
Answer» Is there anyway of adding in DOS using variables, |
|
| 2378. |
Solve : 16 bit windows subsystem? |
|
Answer» I followed the instructions on how to fix this error message: 16 bit windows subsystem |
|
| 2379. |
Solve : MS-DOS 6.22? |
|
Answer» Does anyone know where I can get a copy of DOS 6.22?bootdisks.com........you may wish to visit a website called >freedos.. and try the LOST version of win97........msdos7.1 How do I find my current DOS version?ver typed in the msdos prompt...or DXDIAG in the RUN box or the device manager...will show it..ver gives |
|
| 2380. |
Solve : DELETING SIMILAR FILES IN DIFFERENT DIRECTORIES? |
|
Answer» I WOULD LIKE TO KNOW, I WANT TO DELETE, FOR EXAMPLE, BBY*.* IN THREE DIFFERENT SUBFOLDERS OF THE SAME MAIN DIRECTORY, IN THIS CASE E:\AMP1E |
|
| 2381. |
Solve : How to convert excel into text? |
|
Answer» How to convert EXCEL files into text files using dos COMMANDS and vice-versa.I don't think it's possible. You have to write a program/use a program, or use Excel's FEATURES of export/import (if I remember WELL). |
|
| 2382. |
Solve : Batch File and DOS Window Problem? |
|
Answer» Hi There is nowhere to store information about how it is to be ran Thats what PIF files are for. PIF means Program Information File. Thats why you can run them minimized, maximized, in a window, in DOS mode, prevent them from detecting windows, auto close when finished, etc.I have had time to use the advice given above and to test it. There appears to be a further problem as it runs but maximized. When the batch files are run by me they run minimized; click on shortcut on desktop. When they are run from Win XP Schedule they run maximized. All files involved (.bat and .txt log files) have been set to run minimized. Now I really am stuck as the schedule program doesn't have a run minimized property that I can find. Does anyone have any ideas please. Many thanks [glb]ScriptHam[/glb]See what the command start does (start->run: CMD and then start /?). Make another batch file, let's say startm.bat, where you will have only one line: start /min your_batch_that_should_be executed.bat (the one that you already have, not startm.bat). startm.bat should be called by WinXP scheduler. Make your adjustments now (to close itself when it finishes for example). Does it work now?Thankyou Viking for your advice. I made some tests as follows. I MAY have not understood your last sentence but one. Quote Make your adjustments now (to close itself when it finishes for example) How do I adjust it to close itself? Experimenting with minimized files produced the following: Code: [Select] @echo off call C:\batch\simple_xcopy.bat :: echo running xcopy_simple.bat Test 0. Call -> Run -> CallSimple.bat Result. Dos Window opens and closes. Otherwise OK Test 1. Start /min -> CallSimple.bat Result. Dos Window opens in taskbar BUT never closes, so number that are open increases. Also opens briefly on screen and closes. Otherwise OK. Test 2. Click desktop shortcut to CallSimple.bat Result. No Dos Window, otherwise OK. Test 3. Adjust batch file to call "Shortcut to CallSimple.bat." And adjust schedule to call "Shortcut to Simple_xcopy.bat.". Should these be .bat.Ink files or similar? Result. Proposed but not tested yet. Is it worth doing? Is this more or less what you recommended? I hope it is. Does anything spring to mind regarding the accumulating DOS window entries in the taskbar? I think this is very promising, shame its not more simple. I look forward to hearing from you. [glb]ScriptHam[/glb] :)ADDENDUM to post above. Test 3. Adjusted batch file to Code: [Select] start /min C:\batch\"shortcut to simple_xcopy.bat.lnk" And adjusted schedule to call "Shortcut to CallSimple.bat". Although it just reads CallSimple.bat Result. Seems to work in that log file entries are made and the DOS window makes a momentary appearance on screen and in taskbar. This is definitely progress. But it does not add empty lines to the log file, log.txt, the code to do this is Code: [Select] Echo. >> log.txt Echo. >> log.txt Echo. >> log.txt Up until a few hours ago these three lines were added as the batch file ran. In the properties of the SHORTCUTS I have set the DOS window to 1pxl*1pxl BUT it flashes on screen at natural or normal size. Can this be rectified please. These are not severe problems but if there is a quick fix I would prefer it. The log file is difficult to read without. Many thanks for help so far. [glb] ScriptHam [/glb] |
|
| 2383. |
Solve : Program Closes automatically, can I stop it?? |
|
Answer» Ok So I have a basic Batch Program to Compile Java Programs USING the AVI Folder, the program works fine if I RUN it from the MS-Dos Window, however if I click on the batch file's icon, it opens MS-DOS, Runs the Program, and then Closes the Window. Is there anyway to make it keep the Window Open? |
|
| 2384. |
Solve : Batch file problem with Unicode names? |
|
Answer» My batch file contains |
|
| 2385. |
Solve : Close all the Programs Using a Batch FIle? |
|
Answer» Hi |
|
| 2386. |
Solve : changing filetype in ms-dos? |
|
Answer» I can't seem to find how to change a file to an .ISO. its a game i downloaded. It appears as a paint shop pro image, i tried running it off my nero image drive but i get a bad file extension: error 1000... a GUY told me to go into dos and rename it but he was in a rush so he didnt have time to explain... can anyone help me?Changing file NAMES in DOS is done with the move command: |
|
| 2387. |
Solve : The Invsible Boot CD? |
|
Answer» I am creating a bootable CD-ROM. I have tried MANY methods. |
|
| 2388. |
Solve : Using MSCDEX.EXE in Config.sys? |
|
Answer» I am trying to get DOS to mound a cdrom drive with a drive letter in the config.sys so that i can load further drivers from the CD is there ANYWAY i can do this, i have tried to do it in the AUTOEXEC.bat but this loads after the drivers would in the config.sys |
|
| 2389. |
Solve : Data Backups Using a Batch Program? |
|
Answer» Hello all, I am a newbie here. I am trying to create a batch file to backup all my users data and settings. We are in an XP environment. I also would like to be able to automatically zip the files and ftp to a LOCAL server on our LAN. Any help is greatly appreciated. Thanks. Copying complete directory trees is done with xcopy /e. See xcopy /? for details. |
|
| 2390. |
Solve : Can't get to BIOS? |
|
Answer» I've got an old Dell Latitude CP laptop with a pentium processor (size unknown), and windows 98 loaded. I don't get the message during boot to access the BIOS, I've tried several keys and COMBINATIONS THEREOF but no luck. Anyone have any IDEAS? Thanks.It could be the Delete key... or F1, F2, ..., F10, F11, F12... any. Try all of them. Immediatelly as the computer button is PUSHED on and for a few times (it is ENOUGH a single key push, but... it is sure with many ) |
|
| 2391. |
Solve : Redirect LPT2 to LPT1? |
|
Answer» Is there a COMMAND to REDIRECT LPT2 to LPT1 permanently? |
|
| 2392. |
Solve : DEBUG get DOS DATE? |
| Answer» HELLO, please i need to SHOW the current date using DEBUG, something LIKE MOV ah,2a. thanks. | |
| 2393. |
Solve : format C? |
|
Answer» I am trying to format my computer using the format c: command. After I enter the command, it asks for a VOLUME command. I am not sure what to enter. Can you help?What do you mean with volume command? Could you post your screen output? |
|
| 2394. |
Solve : Find Folder/Directory Size--HELP!!!? |
|
Answer» How to find a DIRECTORY / folder size using dos COMMANDS or BATCH scripts?Could you be a bit more specific? |
|
| 2395. |
Solve : MS DOS - WIN 98 - CD/DVD Recognition? |
|
Answer» Son crashed his T22 IBM Laptop. |
|
| 2396. |
Solve : Need to add a line to a file? |
|
Answer» I need to OPEN a file, add a LINE to the end of that file then save it back as the original file name, but I don't know how. SOMEONE PLEASE HELP!!!! mbYou could try: |
|
| 2397. |
Solve : Shortcuts within DOS? |
|
Answer» Hello. I am RUNNING FreeDOS on a 386. What I am trying to do is add certain programs to the PATH variable without adding each program's installed directory. My solution is to create shortcuts to all the programs in a certain directory and add it to the PATH. My problem is, I dont know how to make shortcuts. Are there shortcuts within DOS (NOT windows), or do I have to make BATCH files? If so, what would I write in them, and how can I make them so that they dont change the directory the prompt is at when the program is done running?This is pretty straighforward. SINCE it's not Windows, you will need to create a batch file for each program you want to run. |
|
| 2398. |
Solve : Can we change IP Address using batch file? |
|
Answer» Can we change IP ADDRESS or IP configuration using batch file. this is frequently REQUIRED to meI am not AWARE of a dos command to do that if it's a manually entered address. you can use ipconfig /release | ipconfig /renew, but I THINK windows requires a reboot for that to become effective. (Further, my experience with Windows would be that the things it wants a reboot to change, but you find an END around for?... will usually result in a system crash - so it got it's reboot anyway. |
|
| 2399. |
Solve : Change Date then return date? |
|
Answer» I want to: |
|
| 2400. |
Solve : Counting number of files moved? |
|
Answer» Hello, |
|