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.
| 4201. |
Solve : change letter definition in ms-dos? |
|
Answer» i need to change the driver letter of mi hdd from c: to a: for a test.i don't think you can do this in DOS, or can it? does sombody have an answer?If I recall, MS-DOS had a assign command but that was in the year one and may have only been for floppy drives. Another possibilty is the subst command which suprisingly is still available in XP. alright, i have a question on this then, can you use this to make a drive on your computer linked to someone elses c drive on another computer... (such as on a network that way you don't have to run from computer to computer and get files off a network drive...) I have tried to do net use, and haven't had much success with that.... i think thats impossible in dos, for doing stuff like that you need c++, or am i wrong? greetz blackberry it is 100% possible to have full DOS network support. You can share the NETBIOS over TCP/IP in dos. Just look for Network boot disks. LAN manager etc. Just like windows, you can create C$ shares in DOS if your network PROTOCOLS are LOADED in dos. |
|
| 4202. |
Solve : help me (drag n' drop)? |
|
Answer» i tried it with this code:i tried it with this code Code: [Select] |
|
| 4203. |
Solve : Missing .dll file? |
|
Answer» Cannot connect to CERTAIN links in a webpage, my YAHOO Browser will FREEZE and I get get an error message "missing gifview.dll" Have located the file in the internet, but don't know where to install it. Can ANYONE help??Wrong post forum. |
|
| 4204. |
Solve : Command prompt from backend? |
|
Answer» Dear All, |
|
| 4205. |
Solve : string parsing in a textfile (Batch solution)? |
|
Answer» Hello, |
|
| 4206. |
Solve : Run a Batch File as an Admin on a Users PC? |
|
Answer» Hi all, |
|
| 4207. |
Solve : filename (with spaces) specification?? |
|
Answer» i am getting rename command syntax error trying to rename a filename that has spaces embedded. |
|
| 4208. |
Solve : Batch - HOW to No Console Window? |
|
Answer» I'm guessing this is a simple question. |
|
| 4209. |
Solve : Shutdown Permissions? |
|
Answer» I tried to shut down a XP machine down remotly using this: |
|
| 4210. |
Solve : Automatic Logon? |
|
Answer» How to perform automatic LOGON on windows XP Pro. on START up?? How to perform automatic logon on Windows XP Pro. on Start up? Select Run from the Start menu. Type - control userpasswords2 - and click OK. Select the Users tab. Uncheck the "Users must enter a USER NAME and password to use this computer." Click OK. When the system prompts you, enter a username and password for users who automatically log on, and click OK. That could still very well stop at the title screen, just that it wont REQUIRE a password. Try using autologon.exe from http://www.sysinternals.com |
|
| 4211. |
Solve : is posible COPY longpath file?? |
|
Answer» Hi there. |
|
| 4212. |
Solve : Delete lines in text files? |
|
Answer» Hi |
|
| 4213. |
Solve : Ip address from text file? |
|
Answer» I am writing a batch file that will allow users to run REMOTE processes on other machines. I have that part down. I have now been charged with another duty. I am asking the user if they need to resolve a host name to ip address, I am unclear about how to do this. I'm thinking something like this |
|
| 4214. |
Solve : "Ejecting" Removable Media Devices? |
|
Answer» On devices such as jumpdrives(aka flash drives or sticks), you can right click on the and click an eject command. Can anyone tell me the shell extension i can call from a batch file. I know it will involve rundll32.exe shell32.dll but im not sure of the command.I wasn't aware you can "eject" these devices, but this will allow you to stop the device for safe removal: |
|
| 4215. |
Solve : Logic issue? |
|
Answer» Hi all, |
|
| 4216. |
Solve : How to get back into 98 SE from DOS? |
|
Answer» I defrag my computer in Dos and now it STARTS up in DOS. How do I get it to open in 98SE?cd\WINDOWS |
|
| 4217. |
Solve : Using DIR to provide files you want to copy.? |
|
Answer» Ok, here's the story. I work in a spot where I need to find, and COPY the PST files. Doing search for *.pst is useful, I can find them... etc. Copying them can be a pain in the a$$. Especially when users stick them in the root of C. |
|
| 4218. |
Solve : eliminating a useless hierarchy in my folder? |
|
Answer» Hi |
|
| 4219. |
Solve : Starting MS-DOS from laptop? |
|
Answer» Hello everyone :-/ |
|
| 4220. |
Solve : problem reinstal Win98 on recetly formatted comp.? |
|
Answer» Hi, I really hope someone can help me and I'm sure it's something so easy that i just totally forgot about. Very few Win98 CD releases were bootable. Only upgrade disks were not bootable. Retail and OEM disks are bootable.I'll say it again - Very few Win98/Win98SE CDs were bootable! There is a very good reason for this which I'll let you FIGURE out. I've used more than I care to mention of all flavours. |
|
| 4221. |
Solve : Absolute path? |
|
Answer» Hi |
|
| 4222. |
Solve : Telnet Command in batch files? |
|
Answer» Hello All, Hello All, i assume you want to execute telnet commands from a Windows machine to a unix machine to execute a Unix script. You can use PERL's Net::Telnet module to do it. Look at http://www.perlfect.com/articles/telnet.shtml for pointers. Or you can download a third parth telnet client to do that. Hello All, Many thanks for your postings. My requirment is i am trying to connect remote unix server using Telnet command in a batch file test.bat telnet -f C:\telnet_logfile.log brussels.bbx.com < C:\TelnetCommand.txt I have created the above command in a batch file and i have used TelnetCommand.txt as a input which stores the User id and password of the remote server and the commands to execute the unix script. TelnetCommand.txt userid password cd /home/pidurpi/srcfiles sample.sh Could some one please tell me is there other way to connect to unix from a batch file and RUN the unix scripts? Thanks, Vish |
|
| 4223. |
Solve : application problems? |
|
Answer» ms dos stuffed up my applications. i can't get into any of them, it goes to word pad with unreadable script. how do i turn ms dos off. This problem occured when i chose a program to open a certain application and now every application opens with wordpad. HELP.You cannot have MS-DOS and wordpad. So do you have a version of Windows? If so what one? Are you stuck in DOS prompt? It doesn't sound like it. |
|
| 4224. |
Solve : Login Script Logic? |
|
Answer» Does anybody know what the correct syntax is for an OR condition in an IF STATMENT for a login script? What I want to do is something like this: |
|
| 4225. |
Solve : Batch File Continuation? |
|
Answer» I want to create a batch FILE that copies some files, then starts a windows program. Once the windows program starts, I would like for the cmd.exe window to close. |
|
| 4226. |
Solve : links in email? |
|
Answer» if I click a link in the email or LOG ONTO yahoo and my email notification pops up and I click it, it tells me that I haven't associated any extensions with the file. How do I make my IE open my links from email etc? |
|
| 4227. |
Solve : Incrementing numbers inside the batch file? |
|
Answer» HI, I need to create a folder automatically in a DIRECTORY. Like the home directory will CONTAIN folders like week-36 week-37. So for next week I need to create a folder week-38 automatically thru BATCH files. Please help me out http://www.robvanderwoude.com/index.html go to BATCH FILES. go to TIME&Date good luck! |
|
| 4228. |
Solve : weird dos message? |
|
Answer» Here is my problem.For some reason whenever I try to net send a message at command PROMPT it gives me the message that "net" is not recognized as an external command or sumthing. |
|
| 4229. |
Solve : My computer stopped running MS-DOS programs? |
|
Answer» I have a few MS-DOS programs that I use FREQUENTLY (a Bricks game and a lottery program). Until last week, I never had any trouble with them. Then last week I started getting an error message labeled "16 bit MS-DOS subsystem" It states "C:\Windows\System32\Autoexec.NT is not suitable for running MS-DOS or Windows programs". As far as I know, I haven't done anything recently that would change the way my computer handles MS-DOS programs. Nothing new downloaded or installed. Can you help me straighten this out? http://www.microsoft.com/windowsxp/using/games/expert/durham_og.mspx i did everything you suggested,the game installed but when i try to run it,it says cd rom must be in to run this game,the cd is in.can you help.Quote i did everything you suggested,the game installed but when i try to run it,it says cd rom must be in to run this game,the cd is in.can you help. perhaps the cd is in the wrong drive, try to put it in another drive (if you have two drives)i only have the one drive.i already installed it from the cd,it just wont playIs it a DOS game? If yes, then the programs is trying to access the old MSCDEX.EXE cd-rom driver extensions. You could overcome this with your personal CUSTOMIZED AUTOEXEC.NT & CONFIG.NT placed in the same fodler as the game. Add DOS SUPPORT cd-rom there. Create a shortcut, and modify the advanced properties, point it to the alternate location of config.nt and autoexec.nt Also, XP has a Compatibilty mode for older games. You will find this under the short-cut properties as well. |
|
| 4230. |
Solve : FTP Batch Script? |
|
Answer» I have batch script for simple FTP (import/export) with out any error handling. Singleton06, normaly, just use the command "pause" and it says: press any key to continue Perhaps this might help. @ECHO off rem ################################################################################ rem # Created by: Gustaaf Von Pickartz rem # Date: November 20th, 2005 rem # rem ################################################################################ set FTPUSER=username set FTPPWD=password set FTPDIR=C:\TEMP\FTP set ANYFILE=C:\DIR\FILE.ZIP echo open ftp.server.com > send.ftp echo user %FTPUSER% %FTPPWD% >> send.ftp echo binary >> send.ftp echo cd incoming >> send.ftp echo put %FTPDIR%\%ANYFILE% >> send.ftp echo bye >> send.ftp ftp -i -n -s:send.ftp del /f send.ftp exit what i was refering to as a pause is to literally put the word "pause" on a completely different line such as @echo off echo Hello How are you doing? pause ehco I'm good... pause end now, i spelled the word echo wrong on the second line and if you were to RUN through this as a batch file, it iwll tell you that "ehco is not an internal or external command" I will also have to hit a key to continue, so i will have time to watch what happens, and be able to tell that i have spelled the word wrong This is just a quick suggestion, which you may be able to tell what you did wrong by the exmaple provided above....Okay, I'm confussed about the thread now. did you want to know how to automate an FTP script or Errorcheck your batch files? You can can do error checking in a batch. Using Errorlevel as checking tool: COPY C:\TEMP\*.TMP D:\TEMP IF ERRORLEVEL 0 ECHO THE COPY WAS GOOD! IF ERRORLEVEL 1 ECHO ERROR IN COPY That is the basics of errorlevel checking. Valid numbers are 1-255. You can always errorcheck any application you have just started or network you connected to. You can Use the GOTO command instead of ECHO to make your batch jump to a particular section to further process the error example: RD /S RECYCLER >NUL IF ERRORLEVEL 1 goto :error ECHO The delete was okay. GOTO END :ERROR echo Warning, I was unable to delete! GOTO END :END echo BYE! may i know how to do the auto run? |
|
| 4231. |
Solve : use batch file to transfer text file? |
|
Answer» I'm a fresh grad, recently i'm assigned a new task |
|
| 4232. |
Solve : Not enough maximum conventional memory.? |
|
Answer» I only have Windows 98. Sometimes I just use C:\command and sometimes I restart and then boot up with the step by step configuration (because some background FILES try to load even though there not in autoexec.bat) and just dont choose the windows shell to be booted.He is using Windows 98. Conventional Memory Another interesting read.... http://aroundcny.com/technofile/texts/pcmemdesign.htmThere is a sound manager out there called VDMSound. http://vogons.zetafleet.com/viewtopic.php?t=2071 This sound manager also manages DOS 640K memmory issues. By the way. Did you ever try to adjust the properties of the shortcut running the DOS game under Windows? Experiment with the memmory setting of the short-cut in question.That's odd, I changed the memory settings in that right click properties menu and they all changed except conventional memory. I changed it to 640K but it went BACK to auto, that's interesting. |
|
| 4233. |
Solve : Batch with copy from Internet? |
|
Answer» ey I like to make a batch with a code that copy's file(s) from a ftp or http server on the INTERNET "GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without Xsupport, etc"[/i] This is the official page: http://www.gnu.org/software/wget/wget.html You can download a version Windows for wget here: http://users.ugent.be/~bpuype/wget/ |
|
| 4234. |
Solve : cd problem: cannot change directory in DOS mode? |
|
Answer» Hi, |
|
| 4235. |
Solve : Registery Keys? |
|
Answer» Hello , |
|
| 4236. |
Solve : Move and execute on startup.? |
|
Answer» Hi, |
|
| 4237. |
Solve : himem.sys is missing? |
|
Answer» Packard Bell running windows 98 when you start it up you cant run in safe mode just run in command prompt C:\ it will tell you that himem.sys is missing but it is in the windows directory but not in the DOS directory it will let you see the windows 98 logo screen but that is it I have tried to scanreg, fdisk. it wont let me load anything up I am just trying to load the windows 98 program.Try amending your Path to include C:\Windows |
|
| 4238. |
Solve : need help with compound if? |
|
Answer» I need help wwith this compound if statement in a Dos Batch file. I am checking to see if two files exist on the drive. if ?.txt exist and blackd.exe. If both exist I would like to end the batch file. if one or neither exist continue processing through the batch file. I have alll of it working except the part list below. the secomnd if statment never CHANGES in by test it is alway "false2" I think it is because of the long file name in the directory path, becasue event when I place a test file in the directroy if is still show "false2". I anyone unstand this I really need your help. I been trying to get this to work for 4 day now. |
|
| 4239. |
Solve : Video Resolution? |
|
Answer» Hello, I can't seem to find it but, the problem is when I start windows it AUTOMATICALLY defualts to a resolution that my monitor can't support. I would like to know if there is a command in dos to change it. I have a lcd monitor with Windows XP pro running. I'm ABLE to boot from a windows xp boot disc and use the restore command line but I can't boot into safe mode, known good last configuration, normal, safe mode command line ECT. They all default to the unsupported resolution. I know my video card and monitor are both good. I have tried booting, unplugging my monitor, then plugging it back in but that doesn't WORK. I have tried booting w/o the monitor in then plugging it in and that doesn't work. This is very annoying and I can't find a workaround. I noticed you could change the resolution through a command line so I figgured I would ask here. Thanks in ADVANCE . |
|
| 4240. |
Solve : How to get status of an executed batch file? |
|
Answer» Hi Folks, |
|
| 4241. |
Solve : .bat or .cmd?? |
|
Answer» Ok, HERES probably and easy question... |
|
| 4242. |
Solve : Alt+Tab Batch File? |
|
Answer» Hi, |
|
| 4243. |
Solve : Comparing File's "Date Modified"? |
|
Answer» Is there a way to compare two file's (both w/same name) "date modified" using batch file if statement. |
|
| 4244. |
Solve : please need help with a batch file!? |
|
Answer» Hi! The directory name should be a variable that i could put in the parameter of the executed file...I'm not sure exactly what you mean, but if you put the following in a batch file I think this should do what you want: Code: [Select]for /f %%a in ('dir /b /ad') do (echo programmtochangerights -f -d user=%%a owner=administrator)This code ASSUMES that you want the "user=" line to be the directory name as in your example. If this is not what you wanted, please provide more details. I currently have it output what the command would actually be so you can check the output. To have it actually run the command, just take out the word "echo". This will process all directories from the directory the command is run in. Also note that if any of the directories have spaces in them, you may need to put quotes around the %%a ... but since I don't KNOW the program you are using this may not be supported or necessary.If you have a list of given directories then you can use: Code: [Select]set dirs=, set dirs=%dirs%"directory1", set dirs=%dirs%"directory2", set dirs=%dirs%"directory3", set dirs=%dirs%"directory4", set dirs=%dirs%"directory5", for %%a in (%dirs%) do programmtochangerights -f -d user=%%a owner=administrator Hope this helps |
|
| 4245. |
Solve : make that batch file can only be opened once? |
|
Answer» hi, i would like to make a batch file that shows a text (example hello) but if you open it for the second TIME, you may not see the text again but a text like; you alrady seen it once. Can sombody help me?? |
|
| 4246. |
Solve : Monitor Services from DOS? |
|
Answer» I want to monitor the status of the windows services if it is running or stopped from DOS. And also will it be possible to enable or disable a service from the command prompt. i want to do this using a batch command.Hope this is of help .... |
|
| 4247. |
Solve : Pause with 0 text...? |
|
Answer» I don't like the pause command's text. |
|
| 4248. |
Solve : DIR Help? |
|
Answer» Hi, |
|
| 4249. |
Solve : make a list of mp3? |
|
Answer» i need help to make a list of all my mp3 i have on my E: |
|
| 4250. |
Solve : How to make a batch file play a playlist? |
|
Answer» i wanna know how to make a batch file play a playlistBatch files do not do Windows. :-/ |
|