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.
| 2301. |
Solve : Working With and Understanding Variables? |
|
Answer» What is the best place to go to find how to effectively understand how to use variables in DOS batch files? Other than the basic %1, %2, etc. examples, it's difficult to find MUCH good information. |
|
| 2302. |
Solve : NTFS?? |
|
Answer» Can I get NTFS SUPPORT under DOS 6.22?Yes I believe that you can |
|
| 2303. |
Solve : using DOS across partitions ?? |
|
Answer» Can DOS be used to look at a directory in another PARTITION? If so, how can I do this? It looks like Partition Magic does not give "partitions" new drive letters. You can do this in Start > Programs > Administrative Tools > Computer Management > Disk Management. Assign it a letter. Quote Recently some files became altered in a Win 98 partition & I would like to use DOS in the healthy Win98 partition to look at files in the unhealthy Win 98 partition. And maybe copy from one to the other. I know - it sounds dangerous but there's a few things I'd like to try before I throw away the HD. You can't access it with Windows? It's worth a try. But, if you cannot access the drive in any way, you will need to save all the important files you can on the healthy Win98 partition, do a Restore (format, basically), reinstall Windows, put the important files back, reinstall programs, etc.. If it's only a damaged partition, you shouldn't have to get rid of the drive (assuming you can boot at all). Good luck to you. 8-) |
|
| 2304. |
Solve : Easy Q - Batch file press's enter?? |
|
Answer» I am writing a batch file to open MSAccess, then open a specific DB. When this DB is opened a window pops up and I need to 'press enter', the BUTTON to be clicked is already highlighted when the window appears so after a pause or two what command is 'enter' or 'click'. |
|
| 2305. |
Solve : date and time in filename why whont this work :-?? |
|
Answer» i want to make the date and time be the name of my output file LIKE this whta is wrong |
|
| 2306. |
Solve : I need a good tutorial PLEASE HELP? |
|
Answer» I need a good tutoril on things with the :~4,5 like this %time:~3,5% i need to know how to use this please help Quote I nees a good tutorils on things with the :~4,5 like this %time:~3,5% i need to know how to use this please helpif you are using XP, the set /? help page contains an EXPLANATION on how to use itok GREAT THINK you i get it now what would i do to get the help for things like %%i and %%g and %iQuote ok great think you i get it now what would i do to get the help for things like %%i and %%g and %iit's explain in the help of the "for" command. use for /?WINDOWS NT Shell Scripting from Tim Hill ISBN 1-57870-047-7 is an excellent Book about the CMD. The Xp specialities are not described but it will give you an insight about the cmd. The for statement The qualifiers The set command with :~... etc. Most questions you posted are answered in it. ;-) HAPPY scripting ulithink you |
|
| 2307. |
Solve : Copy to new file with date in the name? |
|
Answer» I did a quick search, didn't find what I needed, hope this isn't a duplicate... |
|
| 2308. |
Solve : o need help with file name? |
|
Answer» whenever I TRY to do this in a BATCH file, start c:\documents and settings\me\desktop\file that I want |
|
| 2309. |
Solve : FTP in a Batch file? |
|
Answer» HI Guys, |
|
| 2310. |
Solve : Little help :)? |
|
Answer» HI I'm beginner nad I have several questions for DOS: What is SET and for what i have to use this? And for what is this % ? goto? :loop ? Sorry for stupid questions Quote Hi I'm beginner nad I have several questions for Dos:look here http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true the :loop is just defining a tag so you can tell the script to go to it with goto :(tag) hope this HELPS did this help :-? :-? i have more links for you if you want! Ooo yes, please give me tis is a good one http://www.thetechguide.com/howto/2kdos/ |
|
| 2311. |
Solve : I would like to know how to chaLocal Computer Name? |
|
Answer» Hello, |
|
| 2312. |
Solve : comand variable? |
|
Answer» How do you SET the results of a comand to be a variable like this i need to set the output of this to com1 Code: [Select]for /f "tokens=14-16 delims=:." %%i in ('ipconfig ^| find /i "ip address"') do set com1=%%i.%%j.%%k Note: com1 will not be a complete IP address, but will look something like 192.168.2 When you reference com1 after the set statement, use %com1%. Have you checked out the DOS documentation suggested in some of your other posts? 8-)yes i have been reading them think you they are vey helpfull IM gust mostly confuster on thes = %% |
|
| 2313. |
Solve : Long List? |
|
Answer» Hello, |
|
| 2314. |
Solve : FTP Server? |
|
Answer» HELLO, I know this question MAY have a complex ANSWER but is it posible to create an FTP SERVER in MS DOS ?? Thank You Very MUCH for any Help Almn |
|
| 2315. |
Solve : Check for Application/File already open? |
|
Answer» Is it possible in a DOS batch file to check if an application (Powerpoint) is already running. |
|
| 2316. |
Solve : Get folder size in batch file? |
|
Answer» How can I GET the size of folder C:\automation in a batch file??? I'm copying a directory and all it's contents to a new location, so I'm just trying to find a way to know when the copying is complete... so, if there's another solution then I'm all for it. Thanks!how about after copying, create an indicator file to SIGNIFY it's complete |
|
| 2317. |
Solve : return ip [please help]? |
|
Answer» How do i return the FIRST 3 incroments of an ip address example 10.10.10 when it usualy is 10.10.10.1 :-? :-? :-? :-? :-? This will probably work, though not very elegant.Thank you, I would LIKE to know of a good tutorial focusing on things like the thisCode: [Select]for /f "tokens=14-16 delims=:." %%i in ('ipconfig ^| find /i "ip address"') Think you One site you can check out is The Tech Guide. Be sure to read all the pages. It REFERENCES Win2000, once your learn Win2000 DOS any differences with XP can be found in your systems help: HELP command-name Good luck. 8-) Batch language is not difficult, just a bit cryptic and obscure. |
|
| 2318. |
Solve : making a txt with count (please look)? |
|
Answer» how would i make a batch FILE that looped and on each loop it makes a text file NAMED 1.txt then 2.txt then 3.txt (gets one # HIGHER on each loop) and so on and so on@echo off |
|
| 2319. |
Solve : Can Anyone Figure This Out?$$? |
|
Answer» Ive got 40$ to the person who finishes this correctly first, on my honor!! RENTONTECHDUDE69 - a thank you would be nice !!!! :-/ I don't think he will come back, and I don't think he would ever gave his moneyI guess you are right :-?"on my honor" eh? Why is it that it's the people who say "truse me!" that you automatically want to trust the least? |
|
| 2320. |
Solve : if with enter? |
|
Answer» how do i make this |
|
| 2321. |
Solve : return wher bat is located? |
|
Answer» how do i get my BATCH FILE to display where it is LOCATED :-? :-? :-?is it poosible :-? :-?ECHO.%~dp0 |
|
| 2322. |
Solve : Deleting folder based on name? |
|
Answer» I am running batch FILES to create directories and backup selected files to those directories. The directories are named based on the date (ie. 09212005). |
|
| 2323. |
Solve : How to Delete a column in Excel through DOS? |
|
Answer» Hi all, Hi all, This is pointless, and the answer is no. |
|
| 2324. |
Solve : Delete foler using DOS? |
|
Answer» I need to know how to DELETE a folder through DOS and BYPASS the confirmation command. What folder? I GUESS it GOT deleted? |
|
| 2325. |
Solve : BATCH FILE HELP PLEASE (IF EXIST COMMAND)? |
|
Answer» I want to check to see if a user dir exists, if it does, I want to move the contents to another (mapped) drive. here is what I wrote |
|
| 2326. |
Solve : copy file and append datetime to filename? |
|
Answer» hi! |
|
| 2327. |
Solve : IN NEED OF MAJOR ASSISTANCE!? |
|
Answer» [SIZE=3]I am currently trying to INSTALL a photoshop disk into my computer...im not that good with comps but it tells me that the system file is not suitable for running MS-DOS and Microsoft Windows Applications. please help me thank you very much.[/size]Give us some, or any, information about the computer in question - processor, Brand/model, operating system, graphics card, RAM, jhard drive space, etc. - the more the better. In addition if you could tell us what the SOFTWARE name and version # is that would be helpful too.Here are my comps Specs PCV-RX650 SONY Vaio Digital Studio PC 80GB Ultrs ATA/100 512MB PC 2100 DDR 1.60GHz Intel Pentium 4 Processor 10/100 BaseTX Ethernet Memory Stick Media Slot ~~~ Heres The Adapter Information (Do not know if this will help in any way but here is some more info) Chip Type: RIVA TNT2 Model 64 DAC Type: Integrated RAMDAC Memory Size: 32 MB Adapter String: RIVA TNT2 Model 64 Bios Information: Version 3.05.0010 ---------- Here is the disc info. Adobe Photoshop 5.0 ////////// I hope this helps you in any way...thank you for your time I truely appreciate it.Is this the photoshop install CD for the program? Or a photoshop file that you want to work with. In that case is Photoshop installed? What version?It MAY be that the version of Photoshop does not accept files made by a later version. What version of Windows are you running and does it work OK?well lately ive been having some trouble with my comp in general...the printer is having errors when it comes to printing...the monitors configuerations have been messed with...and i think my comp might be infected with some sort of virus...my virus protecter is not working is experiences problems but wont unstall so i can install it again... Im running Windows XP Work Edition...and it is the installation disk for Adobe Photoshop 5.0 (Limited Edition)1) Was the system file 'autoexec.nt'? 2)Free online virus scan http://www.pandasoftware.com/products/activescan.htm Free online spyware scan http://www.pandasoftware.com/products/spyxposer/com/spyxposer_principal.htmas a matter of fact it was...what does that mean?i also have another question regarding a program my computer is running that I was not aware of...what the *censored* is Shellmon.exe Does anyone know? It means you have to copy autoexec.nt from your c:\windows\repair directory and paste it into your c:\windows\system32 directory then set it's properies to 'read only'.Filename: shellmon.exe Default path: c:\aol 8.0\ Clsid: Operating systems: Win 98/ME, Win NT4, Win 2000, Win XP, Win 2003 Software name: AOL Shellmon COMPANY name: AOL Company website: http://www.aol.co.uk Is part of products: AOL Connection Software (Version 8 or higher) Runs as service: No Is visible task: No Status: 0 - No Malware Description: Required for AOL Installation to work correctly |
|
| 2328. |
Solve : Add DomainAdmin group to Administrators localgroup? |
|
Answer» Hello, |
|
| 2329. |
Solve : formatted an old computer and now doesn't work? |
|
Answer» HELP! I FORMATTED the C drive to an old computer that was missing quite a few files for Windows 95. Thought I could just pop in the '95 CD and re-install....but no such luck. When I TURN the computer on, I GET a message that says: Invalid system disk Replace the disk, and then press any key. My system will not even acknowledge it has a CD-ROM. Any suggestions?Win 95 is not bootable. You will need to use a boot disk.Go to www.bootdisk.com and download the appropriate file. Run it to create a bootable disk and when you load that type d:\setup and you should be good to go. You might want to format it with that Win95 disk as WELL! |
|
| 2330. |
Solve : HELP ME PLLZZZZZZ? |
|
Answer» ok i want to install my sims cd buut it wont let me it keeps saying (16 bit Windows subsystem C:/windows\system32\autoexec.nt. the system file is not sutible for running MS-DOS and microsoft windows applictions. choose 'close' tp terminate this appliction.) i dont EVEN noe WUT that meens!!!!!! i need help! You need to retrieve a good copy from the repair directory: From a DOS prompt:Quote c:\windows\repair\autoexec.nt c:\windows\system32 wut qualifies as computer ebonics. Please this is not ur cell fone |
|
| 2331. |
Solve : DIR /b output to Variable?? |
|
Answer» I've been struggling on this for a few DAYS and I finally found this WEBSITE... Maybe someone can help me. |
|
| 2332. |
Solve : three questions? |
|
Answer» ok, i have three questions. What is command prompt good for (what cool stuff can i do with it)? Is this what i use to see what old programs i have used? If not, TELL me how i can do that. And three, Does this tell me everything i have downloaded, and if not, tell me how i can see what i have downloaded. |
|
| 2333. |
Solve : Help with Pings in DOSplu more !? |
|
Answer» HI, This is difficult I have gave up trying to findo out how OT do it. I am writing a script to ping a certain ip address. For example i NEED to ping a machine named 2555-1001. Instead of it pinging this address I need it to BRING the results back for a ping on a different address within the same range (if that MAKES sense!). For example: Ip address for 2555-1001 is 10.186.14.168 The address i need it to ping is 10.186.15.250 The ip for 2555-1001 is gained from a dhcp server. HELP! Thanks firewall logs.....Can you provide some more details. |
|
| 2334. |
Solve : I can't enter ms-dos HELP!? |
|
Answer» I want to enter MS-DOS,when I play the "Start"--"Run"--"cmd", I enter MS-DOS,but in one or twe seconds it disappear from the SCREEN .Who can TELL me how to solve this PROBLEM ? Thanking you very MUCH!Scan for viruses and SPYWARES. |
|
| 2335. |
Solve : create login script? |
|
Answer» hey guys. |
|
| 2336. |
Solve : for /f "tokens=1-2 delims=:,a,p " %%24 t? |
|
Answer» I am trying to create a FILE with the time appended as a stamp (filenamehhmm), however when I use the following code, the system returns a 12-HOUR clock time |
|
| 2337. |
Solve : Woefully ignorant........? |
|
Answer» Thanks for the POST.........to lead us to advert.........so when you have a real problem........we are HEAR..... |
|
| 2338. |
Solve : Text file as a paramenter in a BATCH? |
|
Answer» How can I EXECUTE a BATCH file chaging the paramenter whe I have them in a TEXT file and I WANT that BATCH file to RUN for EVERY line yn the text file? |
|
| 2339. |
Solve : Is there any way...? |
|
Answer» Is there any way to OBTAIN a Admin. account USING DOS??I have a limited acc. now and i'm RUNNING XP.the single USER is the admin?? |
|
| 2340. |
Solve : Changing the case of variables in Batch File? |
|
Answer» Hi People, does anyone know a WAY within a batch FILE of CHANGING all characters to lower case (the variables are input from a TEXT file and MAY have capitals..I WANT them all lower case) |
|
| 2341. |
Solve : Making Batchfiles? |
|
Answer» comp has SurfSidekick... was advised after many a search to create a 'batch' file to delete the sucker even before it STARTED up (already tried deleting it from the start-up programs..... the sucker snuck back in...) and not the slightest clue as how to do it... much less make it work ~~~~: ( any help available from veterans or noobs alike?Hi, this is easily solved (hopefully...) |
|
| 2342. |
Solve : messed up big time? |
|
Answer» hi |
|
| 2343. |
Solve : HI, New member with MS DOS question.? |
|
Answer» Hello and nice to meet you all, |
|
| 2344. |
Solve : Unable to type in DOS window? |
|
Answer» Load MS Dos WINDOW TRY to TYPE in the window but no response, any ideas? |
|
| 2345. |
Solve : Killing tasks with cmd? |
|
Answer» HI, ;] I WOULD like to know how to kill tasks through cmd :-/ , is it possible ? thanx ! don't NEED any more! taskkill "task name" ENTER |
|
| 2346. |
Solve : Newbie needing to fix an old laptop? |
|
Answer» HEY, I have an old laptop that has, for lack of better termology, gone on the fritz. It is an AMS from around 1995 that was given to me as is. It was working slowly, but surely, auto ranning Norton Antivirus, when I stopped it. The computer made a sctratchy noise through its built in speakers and completely froze. I turned it off, (flipped the power switch) and waited 10 seconds, rebooted and it started showing: The following file is missing or corrupted: Himem.sys There is an error in your config.sys file on line 2 then it displays the microsoft (R) windows 95 (c) 1981-1995. then it started asking for a system DISK. I have no CLUE what to do with it now. is there anyone that can help me? MUCH thanks in advance to whoever can help. Davedownload a win95 boot disk<www.bootdisks.com>......and try the scandisk /all command or scanreg/fix.....have you had all problems booting this before?what is the hard drive make.... for eg>.travelstar ibm? |
|
| 2347. |
Solve : Automatic batch? |
|
Answer» in a batch file, how do you make it run automaticly at a certain time or DATE even if you don't click on the icon.Hi, TRY control PANEL>scheduled tasks>ADD scheduled task |
|
| 2348. |
Solve : Run DOS program on all files? |
|
Answer» I am trying to run a DOS utility that converts all files of a certain type (.PGN files ) to another format so they can be read by another program. |
|
| 2349. |
Solve : Help! How do I rename file ext in mult subdir?????? |
|
Answer» HI!! |
|
| 2350. |
Solve : Batch file password? |
|
Answer» Is there any way to have a BATCH FILE writen in Dos 5.0 PROMPT the user for a password before it runs? |
|