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.
| 451. |
Solve : Create a text file in a folder? |
|
Answer» Hi, |
|
| 452. |
Solve : To find command 'date' to using in batch file? |
|
Answer» I make a batch file to set text change follow with the day now. |
|
| 453. |
Solve : Force system to reboot from CDROM? |
|
Answer» How do i REBOOT from CDROM while in DOS if for some reason i cannot change BIOS whose reboot sequence is floppy/harddrive/cdrom..Look in BIOS settings. Do you have a floppy bootdisk you could use?I cannot change the settings set by the vendor in BIOS. |
|
| 454. |
Solve : how to set a mask of folders name? |
|
Answer» Hello all. |
|
| 455. |
Solve : Batch File on XP? |
|
Answer» In XP the batch file ends with .NT |
|
| 456. |
Solve : first line of batch file runs repeatedly??? |
|
Answer» I have a batch file containing 3 lines. If I run these commands individually from the command prompt they work fine. When I try to run it in the batch file the command window just shows the first line over and over....and doesn't even executed the command. |
|
| 457. |
Solve : DOS BASICS? |
|
Answer» what is .: in PATH command? |
|
| 458. |
Solve : WHAT DOES INPUT RUN_TIME MODULE PATH MEAN?? |
|
Answer» THIS MESSAGE APPEARS WHEN I TRY TO LOOK AT CERTAIN FILES IN DOS FROM A:\ DRIVE, PLEASE HELP |
|
| 459. |
Solve : How to search string using a batch file? |
|
Answer» How do you SEARCH and replace a particular string in a couple of INF's using a batch file GIVEN the location where the INF's are storedit seems to me that you are stepping into a dangerous zone by using a batch file to search and replace. |
|
| 460. |
Solve : dos basic? |
|
Answer» what is .; in path command? |
|
| 461. |
Solve : dos to open in windows? |
|
Answer» Computer is STARTING up in DOS mode, how do I get it to open in the window mode?Type WIN and the command prompt. |
|
| 462. |
Solve : GETTING TO A FOLDER IN DOS? |
|
Answer» I'm trying to get to a folder on my COMPUTER via MS-DOS Command Prompt as I am trying to use a game cheat and that is the only way to do it. How do I get to this folder in command prompt so I can excecute the cheat?At the command prompt type the PATH of the folder/file you want and HIT Enter. e.g. |
|
| 463. |
Solve : Deleting a line in text file? |
|
Answer» Hi, i am TRYING to delete several lines from a text file. how to do in DOS? |
|
| 464. |
Solve : Command question? |
|
Answer» What is the difference between |
|
| 465. |
Solve : How do find the filename of a BAT file?? |
|
Answer» How do you find out the file name of a BAT file that is running? NOTE: MUST WORK ON WINDOWS 98/2000/XP!what do you MEAN running? |
|
| 466. |
Solve : Problem with large text file? |
|
Answer» I have a very large text file, too large to use the DOS editor. I would LIKE to see the bottom hundred or so records. The type comand will scroll forever. Is ther anyway to view or select off records from the bottom of a file? Anything SIMILIAR to the tail command in UNIX?type file.txt | more will allow the MORE utility to display a page at a time. |
|
| 467. |
Solve : edit my batch file? |
|
Answer» hi there this is my first time on here I do have a question on a batch file if you do not mind. I am creating this batch file below: 1. Create a batch file, Micr.bat, which will accomplish the following: a. Update a log file on your C:\root folder. Call this log file cleanup.log. Each time your batch file is run it should over-write this log file which contains the User Name (utilizing the %USERPROFILE% environmental variable), b. MERGE this file onto the back-end of the file cleanup.hst which will also be stored in the C:\ root folder. c. List the directory contents of this TEMP folder. d. Ask for the user’s permission to proceed with the deletion of all these FILES. e. If the user responds positively, then delete all the files from the user’s TEMP file. f. Remember to copy the textbook’s REPLY.COM to the folder containing your batch file. g. Place this batch file in the C:\BatchFiles folder. This is what I have come up with: ECHO off rem (BAT) rem (EVA) rem (dec 2 2004) FOR %%a IN (%USERS%) DO IF "%1"=="%%a" GOTO OKAY :NO ECHO YOU, %1, are NOT allowed in the system. GOTO END :OKAY ECHO Welcome %1 to the system. :END c:\setup.exe /L2 c:\Logfiles\cleanup.log c:\ move cleanup.log a:\cleanup.hst c:\ dir /TEMP REM This Batch program deletes all files in the TEMP folder in the current folder. REM I will give the user to react and abort this process. ECHO OFF ECHO WARNING: Going to delete all files in the temp folder ECHO Press CTRL+C to abort or simply press a key to continue. PAUSE DEL TEMP *.* c:\ copy REPLY.com C:\EVA IF %1==Eva GOTO EVA Echo Is anyone there? GOTO FINISH :end Can you please tell me if i am on the correct track? i can help you with some of this. try it first, of course with two small files, filea and fileb if you use the copy command copy filea+fileb you will get a screen prompt which asks if you want to OVERWRITE etc. i do not know how to get around that but in the earlier dos environments, that was not asked. at any rate fileb will be attached to filea so that the resulting filea will have the original filea trailed by fileb within it. i would not use del *.* as it will also ask for a confirmation, but RATHER know the file name you wish to delete or use wildcards if they all begin with the same letter or letter. that way you will not get the confirmation request. start with these ideas and build your batch. respond if this is not part of what you want to do |
|
| 468. |
Solve : repair unreadable segments?? |
|
Answer» My computer makes funny sounds (clack clack clack) as it gets stuck on things. Thought it was virus (no), program conflict (no). I wiped the hard drive and started again. It looked good for a day but then started again. Finally message CAME up FILE C:\ is corrupt and unreadable. Run CHKDSK. Now when I boot up CHKDSK does run. It says: SEGMENTS 11108-11120 are unreadable and tries to fix things but it is never fixed. Can I repair?STOP! Hard drive is about to die. Make copies of all your important files now.You personally... I DOUBT. You need special equipment. Your hard-drive does have GUARANTEE? If not, prepare for buying a new one. |
|
| 469. |
Solve : Help ME to create this batch file? |
|
Answer» How do I create a batch file to delete recent files in |
|
| 470. |
Solve : Printers and Dos? |
|
Answer» I need help in printing from a DOS program. My old printer broke down, can't be fixed. I'm wondering if anyone knows if any of the newer Canon PRINTERS, either the i350, i455, i475, can print from a Dos program. I have Windows 98, but the program, in dos, won't WORK in Windows. Please help. I know the printer has to have a PARALLEL port. |
|
| 471. |
Solve : Increment file names of copied file? |
|
Answer» I am not a programmer, but needed to perform some simple move and copy functions to manage our EDI files. In one STEP, MULTIPLE incoming Purchase Order files are batched into one file, say inbound.edi, which is sent to our ERP system for PROCESSING. Since this file will be overwritten the next time we pick up new files, I would LIKE to copy the file to a backup directory. Obviously, I can't keep a copy of each unless their filename is somehow changed or appended incrementally. Is there a command to increment the file name during a copy so each copy is uniquely named in the new directory? (Similar to date-time stamp question, but does not necessarily have to be date-time stamp - could just be sequential numbering). |
|
| 472. |
Solve : rename file extension to original from "open? |
|
Answer» I am helping someone retrieve "lost" files from an MS-DOS based database. It turns out the files are not lost (whoo-hoo!), but they are not in the same folder as the DOS-based program (which is on the same computer, and DOES have files in different DIRECTORIES that I can see). |
|
| 473. |
Solve : How many files in a directory?? |
|
Answer» Hi all, I had a simple batch issue that I'm not SURE how to resolve. I need to know how many files are in a directory, from within a batch file. How can I get/extract that #? |
|
| 474. |
Solve : Exit MSdos Java? |
|
Answer» I am wondering if anyone could TELL me why Dos GIVES me a error MESSAGE about exiting after i run a java application in it. How do you make it exit PROPERLY? THANX it depends. sometime you have to x out i type exit |
|
| 475. |
Solve : batch file using %1\Nul? |
|
Answer» ::) |
|
| 476. |
Solve : How do I enable command extensions in Dos? |
|
Answer» I cant get into my DOCUMENTS in dos as it keeps saying too many parameters. When I try and access using "" it still DOESNT work? |
|
| 477. |
Solve : getting rid of old PC? |
|
Answer» I am GETTING RID of an old computer and want to delete the c: drive. Have DOS 5.0 and windows 2k professional. I need step-by-step instrcutions. Tried to CREATE a DOS 5.0 bootdisk but keep getting message advising to remove nonsystem disc. someone please help. please |
|
| 478. |
Solve : Release/Renew batch file? |
|
Answer» I am looking for a batch file to REFRESH my high speed internet connection by using the ipconfig/release-renew dos commands. I WOULD like a shortcut on my DESKTOP (WinXP) to run this program. |
|
| 479. |
Solve : RealPlayer Fullscreen Command Switches? |
|
Answer» [glb] RealPlayer does not have a command line. How come RealPlayer has "/m audio" and "/x-pn-realaudio" as command line switches? If RealPlayer has that, it must have a switch for fullscreen view at STARTUP. |
|
| 480. |
Solve : command line batch? |
|
Answer» MORNING folks can SOMEONE please direct me on my batch or tell me if there is a particular forum I should be looking at for help...thanks I just posted this issue last NIGHT one is called edit my batch file the other batch file using %1\Nul thanks again there does not SEEM to be any replies to your other questions on this forum |
|
| 481. |
Solve : Opening a file to a Variable? |
|
Answer» In the Batch file that i am writing, i use the the copy con command to write the TEXT to a file, that works fine. But how would i load this into a variable, do i NEED to use set? I do want to create and keep the file from the copy con command! |
|
| 482. |
Solve : Can't run exe from D:\Program Files\? |
|
Answer» It SAYS "the system cannot find the path specified". |
|
| 483. |
Solve : Attaching files to batch files....? |
|
Answer» I need someone to tell me how to attach FILE Such as GIF animations To my batch files... I don't Nedd a link..Because.. I can't find it anywhere else... Tnka you ..very much..Sorry, but it can't be done. You need special SOFTWARE to even view a .gif under DOS. An animated .gif is out of the question.[glb]Let me guess: you are trying to embed a BINARY file into a BATCH file, right? |
|
| 484. |
Solve : Grief with backslash/installing 98 - dos? |
|
Answer» Hello all |
|
| 485. |
Solve : need help with d:/? |
|
Answer» My computer registers d:\ as B:\ |
|
| 486. |
Solve : how to see file details like date of creation ?? |
|
Answer» How to see FILE details like date of creation or modification in the dos PROMPT ? If I am using FTP for some dataxchnage i am facing this problem. |
|
| 487. |
Solve : Creating a folder with date, using .bat? |
|
Answer» I am looking for a line of CODE that will CREATE a folder using the date of creation, or system date. Currently, using the %date% adds "??/??/??" slashs and this not allowed. I am looking for a folder name like this "11182004". can someone please help me out? |
|
| 488. |
Solve : Background application launch? |
|
Answer» hi, |
|
| 489. |
Solve : command file? |
|
Answer» I DONT know if your know about the "rcmd" command. but on our system after you type that command in dos it will ask you what machine your looking for, then you type in the machine name, then it comes back and ask you what command you would like to run on the machine, you type that in, well i want to write a bat FILE that will be able to SEND a command to several machines at the same time or one right after the other one. like reboot or restart awhost32, but when i try just typeing the commands one line at a time in a text editor, and then SAVE as a bat file it will only run the first line, how do i get it to wait on the computer to put in the next line of text to be able to run the next command.Has someone set up a batch file? what o/s..ask the programmer....or what commands/dir/files are relevant...do we play chess VERTICAL or horizonal.......the rules of the program that has been written..../|\?$% c+ c++ vb what.. |
|
| 490. |
Solve : Trouble opening display properties? |
|
Answer» Hi, I cannot open up the display properties on my computer. CURRENTLY using windows98. When I right-click on the desktop and click Properties, I find that the mouse pointer changes to an hourglass for a few seconds and then doesn't open the context menu at all. The same problem may occur if I try to use the Display applet in the Control Panel. I tried to edit the Registry "HKEY_LOCAL_MACHINE\Software\ Microsoft\Windows\CurrentVersion\Controls\Folder\ Display\shellex\PropertySheetHandlers". Can anyone HELP to solve this problem and the value that i have to give. i had that sort of trouble...found it was an ad type bug. |
|
| 491. |
Solve : reinstall a file syntax? |
|
Answer» Hi, |
|
| 492. |
Solve : restoring dos? |
|
Answer» deleted dos by MISTAKE from a computer RUNNING WINDOWS 95. do have disks for restoring windows 98, will this work?do you mean you cannot boot or you need the dos files per se? do you mean you cannot boot or you need the dos files per se? |
|
| 493. |
Solve : Needed an utility (.exe or .com or .bat)? |
|
Answer» hi all, |
|
| 494. |
Solve : sorry may seem stupid but my pc say some progs not? |
|
Answer» anyone HELP, i TRIED to USE my dictionary and PC won't let me?. my pc says not suitable to run ms-dos. |
|
| 495. |
Solve : I,m trying to open new file? |
|
Answer» I,m trying to open new file but not a useal method |
|
| 496. |
Solve : Boot DOS 5.0 from A: cannot access C:? |
|
Answer» Hi, perhaps someone here can help me. I've forgotton most of my DOS. I have an old laptop that won't boot from C:. I have a DOS 5.0 boot disk which works, but then I cannot ACCESS C: or even reformat it because it doesn't recognize there's a HARD drive. Is there a command for the config.sys or autoexec.bat that instructs the machine that there is a hard drive? |
|
| 497. |
Solve : Check if program is running? |
|
Answer» Hello |
|
| 498. |
Solve : icons for Batch files..?? |
|
Answer» can I create or use an existing icon for my Batch file..? |
|
| 499. |
Solve : QBasic won't stay open for more than a few seconds? |
|
Answer» I can't get QBasic to stay OPEN for more than a few seconds. I am using Microsoft Windows XP Home Edition. At another forum, someone said: |
|
| 500. |
Solve : How do I write on more than one line in Dos? |
|
Answer» Help! I'm a total NEWBIE to DOS. I USE WINDOWS XP Home Edition and I was wondering if anybody could help me out. How do I write a COMMAND on more than one line? I need to execute a command which is divided into 3 lines. How do I do that without pressing enter to execute the partially written command?ctrl+ji use this...its a bit not nerdy, but it works echo line one > mybit.bat echo line two >> mybit.bat echo line three >> mybit.bat (NB the double greater than signs add each line to the bat) check it by USING the type comman(type mybit.bat) ;) |
|