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.
| 8351. |
Solve : Avoid empty folder / Convert byte in Kb? |
|
Answer» Hello, |
|
| 8352. |
Solve : NTFS from RAW? |
|
Answer» My HD locked up and is now in RAW format instead of NTFS. This is a secondary HD and not my boot-up drive. This happened to me a long time ago (about a year) and I found an MS DOS command that would check out my HD and put it BACK to NTFS. The commands are not chkdsk or scandisk ... these do not work. What are other commands I can use to check the bad HD out and possibly get it back to NTFS WITHOUT reformatting it?RAW is not a good sign. |
|
| 8353. |
Solve : .batch file problem? |
|
Answer» ok..i have a problem with a .batch file im running.... lets say i open "a.bat" the code i have so far is:Code: [Select]echo ( |
|
| 8354. |
Solve : Extracting data from Excel and creating folders and subfolders? |
|
Answer» I need to create a batch file that will extract data from an Excel spreadsheet to a .txt file and from there take the data and create folders and subfolders from it. Here's an example of what I need. Batch code cannot process Excel spreadsheets which have a proprietary organization. If you can save the spreadsheet as a comma separated values (CSV) file, this little snippet may work for you. And suppose a person had never used VBScript in an Office application before... Where might he find some info on how to perform the specific TASK he needs to?Technically if you write code for an Office Application within the application you use VBA. If you write code for an Office Application that runs EXTERNAL to the application you use VBScript or any other Windows Script language that can create automation objects. You can still do your original request in batch, but as mentioned batch code cannot read an Excel file directly. You can however save an Excel file as a CSV file by choosing Saveas from the File menu. When the dialog appears, give the file a name then choose CSV (comma delimited) from the save as type drop down box. The CSV file will be input to the script posted. Help with VBA and VBScript can be found all over the net. In addition each Office Application comes many pages of Help (F1). The Microsoft Script Center has a Office Section geared toward their Office products. There is a help file (script56.chm) found on most Windows installations that can help you learn all about VBScript and/or JScript. |
|
| 8355. |
Solve : 3 questions? |
|
Answer» 1. How can i make bat wich will make files in RANDOM folders ? |
|
| 8356. |
Solve : Batch file question.? |
|
Answer» Is there a code I can use to put a desktop background when SOMEONE opens it? |
|
| 8357. |
Solve : Send Command Via a Cmd Progam? |
|
Answer» I have been working on a small program for some time and have been having some DIFFICULTY with it. All I need the program to do is PASS a COMMAND to the device it is stored on. So that when the program is called to run it PASSES the command to the device. The device works with sisc commands. |
|
| 8358. |
Solve : another batch file problem....? |
|
Answer» Ok, so I need to make a batch file that calls a batch from the C:\, then goes back to the file where the batch started, and calls and/or starts another batch. I have tried a couple of codes: (a.bat is in the C:\, b.bat is in the same file as the batch being run)Code: [SELECT]set 1=%CD% Sidewinder, happy to oblige Thank you Graham. And to think all these decades I've been ecstatic with the simple return of the command prompt. |
|
| 8359. |
Solve : deleting an "access denied" file? |
|
Answer» hi guys, i'm trying to delete some empty folders, but am UNABLE to do so through the conventional ways of pressing delete just wondering if, (and how) i can delete them through Command prompt; in an attempt to bypass the "ACCESS denied" bitHave you tried using "MoveOnBoot" to delete the file? |
|
| 8360. |
Solve : Can you explain the Call command in batch?? |
|
Answer» I'V read about it but, I can't comprehend it. Can you try to describe it? |
|
| 8361. |
Solve : Batch File to Copy contents of a CD and move to a shared folder? |
|
Answer» I am trying to get a batch file that will copy the contents of a CD and move them to a share on a server and ignore the overwrite prompt. I am not familiar with writing batch files so if anyone has a template that i could just input the LOCATIONS that the copy and move will move to. |
|
| 8362. |
Solve : Extract File Name from Folder? |
|
Answer» Please Help! I am trying to find a way to extract a file name from a DIRECTORY of files. For example, if you have a FOLDER named "C:\scanadm\file\in" that contains files FOR /R C:\scanadm\file\in %A IN (*.*) DO (Get Individual Name of File and Put in Variable) Not sure what the PROBLEM is. You have a variable (%A) which will contain the FULLY qualified file name. If you don't want the path info, you can use: Code: [Select]FOR /R C:\scanadm\file\in %A IN (*.*) DO (ECHO %~nxA) Don't recommend using %~nxA; the /R switch walks the directory structure (recursion) and you may want to keep file names unique. |
|
| 8363. |
Solve : sending/accessing/running files and programs over a LAN? |
|
Answer» Specifically, I'm wondering if there is a way to run programs remotely on another COMPUTER with command prompt over a LAN and how to do so, but any help on how to do anything in the title will help.You can use psexec - free tool from sysinternals (now microsoft) i'm trying to do this on my school's computersThat raised some red FLAGS for me... Maybe you should explain what you're trying to accomplish and why. |
|
| 8364. |
Solve : Cannot use External DOS commands? |
|
Answer» When I RUN a cmd session from Windows the only DOS commands I can run are Internal like DIR, DEL, CD. But DOS will not recognise any External DOS commands like XCOPY, NETSTAT, HELP, FIND etc. This can also be done by creating a desktop shortcut to .cmd and right clicking the shortcut. I'm up to speed on this feature but find that altering the Shortcut Properties does not edit the Environment Variables in any way. Also found that in order to access the External Commands using a shortcut, the Start In has to be C:\Windows\System32\ |
|
| 8365. |
Solve : FOR command? |
|
Answer» how to do .bat file in for COMMAND that for the space will be "+" so if i type aa aa aa the output will be aa+aa+aacheck out string substitution in |
|
| 8366. |
Solve : .bat question rename question? |
|
Answer» I NEED to do a renmame based on the FIRST two line in a .txt file. |
|
| 8367. |
Solve : What command does so the batch move up a folder?? |
|
Answer» Well I'm sitting here with a problem. |
|
| 8368. |
Solve : search + replace batch file help...? |
|
Answer» I have yet another .BAT question.. ...or atleast tell me which commands need to be used You will need the FOR, DIR, and REN commands. Good luck, I guess hwo woudl I use FOR?? (I use DIR and REM, all the time, I've used REN b4 but what about FOR??) go on. . .Actually, the original post can be interpreted a few WAYS. Does the OP wish to change the name of all the a.txt files to b.txt? OR does the OP wish to change the contents of all the a.txt files with the contents of b.txt? If it's the former, the original response stands. If it's the latter, you WOULD need the FOR, DIR and COPY commands. In any case, making mass changes can have far reaching and unpredictable consequences. Enough said. |
|
| 8369. |
Solve : File manipulation (moving/renaming) in a batch file? |
|
Answer» Hello, You should get away with millisecond uniqueness unless you have a Cray supercomputer. Hmmmm, perhaps I'm doing something wrong then. The attached picture shows the destination directory (that will serve as the upload cache) after running the script. All files have the same number for the milliseconds portion of the time variable. Also, because of this, the files with the same name aren't copied over (i get an access is denied message when the script runs). I assume this is because a file with the same name already exists because those are the files that are left after going through the leftovers. Any idea what this could be? Thanks for your help. [file cleanup - saving space - attachment deleted by admin]Yeah, that was a glaring error. thetime will have to be recalculated each time through the loop. If you anticipate the script running through midnight, I guess thedate should be recalculated also. Code: [Select]@echo off for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (set thedate=%%l%%j%%k) for /f "tokens=* delims=" %%x in ('dir /a:d /s /b c:\images') do ( for /f "tokens=* delims=" %%i in ('dir /a:-d /s /b %%x') do ( for /f "tokens=1-4 delims=:." %%o in ("%time%") do (set thetime=%%o%%p%%q%%r) move "%%i" "c:\ftp_upload_cache\%%~ni_%thedate%_%thetime%%%~xi" ) ) REM ftp to another server I'll let you decide about the date token. What you said about calculating it each loop makes sense. Unfortunately, the script doesn't seem to calculate the time at all now. It puts the underscore in there before the time but the time is getting parsed or appended to the filename at all. Any ideas?Even when I get the time into the label, the milliseconds never seem to change. Code: [Select]@echo off setlocal enabledelayedexpansion for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (set thedate=%%l%%j%%k) for /f "tokens=* delims=" %%x in ('dir /a:d /s /b c:\images') do ( for /f "tokens=* delims=" %%i in ('dir /a:-d /s /b %%x') do ( for /f "tokens=1-4 delims=:." %%o in ("%time%") do ( set thetime=%%o%%p%%q%%r move "%%i" "c:\ftp_upload_cache\%%~ni_%thedate%_!thetime!%%~xi" ) ) ) REM ftp to another server However, in order to create unique file labels, why not just append a sequence number? A whole lot easier: Code: [Select]@echo off setlocal enabledelayedexpansion set seq=0 for /f "tokens=* delims=" %%x in ('dir /a:d /s /b c:\images') do ( for /f "tokens=* delims=" %%i in ('dir /a:-d /s /b %%x') do ( call set /a seq=%%seq%%+1 move "%%i" "c:\ftp_upload_cache\%%~ni_!seq!%%~xi" ) ) ) REM ftp to another server This code is a mess. Pray you never have to change it. The problem with the sequence number is that it would reset whenever the script was done and this could make for potential duplicate filenames. That's why I was hoping to make it date/time stamped with such a finite resolution. Is there a global count that could be instated somehow? Maybe I'm looking at this the wrong way. Were you able to get the time stamp to work? All machines are different, so I thought maybe on yours it would work. If you do decide to go with the sequence number you can persist the count in a file over multiple runs. Code: [Select]@echo off setlocal enabledelayedexpansion if exist count.dat (set /p seq=<count.dat) else (set seq=0) for /f "tokens=* delims=" %%x in ('dir /a:d /s /b c:\images') do ( for /f "tokens=* delims=" %%i in ('dir /a:-d /s /b %%x') do ( call set /a seq=%%seq%%+1 move "%%i" "c:\ftp_upload_cache\%%~ni_!seq!%%~xi" ) ) ) REM ftp to another server echo %seq% > count.dat I guess I don't understand why you can't ftp each directory separately where the file names were already unique Is this a good time to ask what HAPPENS to these files after the ftp? I was unable to get the timestamp to work. All the images go to one directory on a server that polls the directory for images/files (I was told it doesn't traverse the directory structure in its polling) to upload into the content management system of the hospital. Perhaps a persistent sequence is the way to go... |
|
| 8370. |
Solve : Overwriting? |
|
Answer» Ok, I have a batch file that converts all of a certain file type in one folder to a different filetype in a seperate folder. |
|
| 8371. |
Solve : How to create a batch file contains a repeating lines (loop)?? |
|
Answer» HI all, I want to make a batch file (or just a txt file) that contains repeating commands (using a defined number of loop), with some different char on each line. E.g. Package name 51B1 number 1 Package name 51B2 number 2 Package name 51B3 number 3 ... Package name 51B99 number 99 I wish I can explain it more technically, but I have a very limited knowledge in DOS commands. So I hope you understand what I'm saying.. Thank you in advance regards, NugrahaTry the following Code: [Select]FOR /L %%G IN (1,1,5) DO echo Package Name 51B%%G number %%G This will loop from 1 to 5 in increments of 1 I have TRIED, but it doesn't work. Maybe I need to explain more. Let's say I make the above commands in a file, say loop.bat What I need is, if I double CLICK loop.bat, it will make ANOTHER bat file (or just a txt file), say NAMED as result.txt that contains text: Package name 51B1 number 1 Package name 51B2 number 2 Package name 51B3 number 3 ... Package name 51B99 number 99 I hope it's clearer now. Again, thank you in advance regards, NugrahaSave the following code in loop.bat Code: [Select]FOR /L %%G IN (1,1,99) DO echo Package Name 51B%%G number %%G >> result.txt This will now output to a text file result.txt |
|
| 8372. |
Solve : Help me with Batch file? |
|
Answer» Now, I'm MAKING batch files to copy some files in CD to Hard Disk. Punctuation counts Thank you for your reply I'm a really beginner at DOS(Batch file). For example, if i copy the temp.txt file to c:\, the below code is correct? I replaced with your code like that but i cannot still copy the temp.txt file. @echo off for /f "tokens=* delims=" %%i in ('dir e:\temp.txt /s /b') do ( for /f "tokens=1-3" %%x in ('dir c:\ ^| find /i "bytes free"') do ( if %%~zi LEQ %%z copy e:\temp.txt c:\ ) ) Quote Now, I'm making batch files to copy some files in CD to Hard Disk. Quote I replaced with your code like that but i cannot still copy the temp.txt file Based on your posts, the temp.txt file held a DIRECTORY listing that contained the free space value. There is no need for this file as the work will be done in memory. Judging from your last post, your CD drive is E:, your hard drive is C:, and the target directory is \ Code: [Select]@echo off for /f "tokens=* delims=" %%i in ('dir e:\ /s /b') do ( for /f "tokens=1-3" %%x in ('dir c:\ ^| find /i "bytes free"') do ( if %%~zi LEQ %%z copy "%%i" c:\ ) ) There may be a potential problem in that free space on the directory map is an edited string (complete with commas) and %%~zi is numeric. Let us know PS. Generally when PEOPLE post code like (FOR /f "skip=2 delims=" %%a in ('find "fee space" temp.txt') do echo %%a, we do not presume them to be beginners. |
|
| 8373. |
Solve : MS-DOS 5.0? |
|
Answer» I got a machine that only has msdos 5 on it. I copied win311 install files to hdd and tried to install. I received "cannot execute setup.exe" |
|
| 8374. |
Solve : how to determine a zero byte file within a DOS batch file? |
|
Answer» i would like to KNOW in a batch file if a dos TEXT file was created with data in it or does it exist with zero bytes?If you pass in a FILENAME as a parameter to your batch, then this CODE will tell you how big it is |
|
| 8375. |
Solve : Delete Script? |
|
Answer» HAY all, I need to CREATE a script to delete FILES in all subfolders for files over 10 DAYS old. Their is no WAY of using the DEL command to delete by date is their?This is a case when a simple vbscript should be used, DOS cannot easily do calculations on dates Graham |
|
| 8376. |
Solve : DUMP COMPUTER NAME & INFO INTO A TXT FILE..??? |
|
Answer» Is there a way with batch-cmd to dump the COMPUTER name and the user name or all the PC INFO into a Txt file at all..??echo %COMPUTERNAME% > file |
|
| 8377. |
Solve : Bat files & opening programs? |
|
Answer» Hola mis amigos. I have run across a problem when it comes to opening a program in a batch file Care to explain. Batch file looks fine. Are you getting any error messages? What HAPPENS when you run the file? PS. Why kill msdev twice? Once is not enough?Well when it's in " it will just make the Command prompt maximized. But if I don't PUT the " marks then I get Windows cannot find 'c:\Program'. I use two tskills because in Microsoft Visual studio C++ it crashes often and you have to kill the process twice :/. So I want this program so I can just push a key combination and just end the task and bring it back.The quotes are required because the path has embedded spaces. The start command can be quirky....when it sees the quotes it assumes they're the window title. You can get around it by using null title quotes: Code: [Select]@echo off tskill msdev tskill msdev START "" /MAX "C:\Program Files\Microsoft Visual Studio\COMMON\MSDev98\Bin\MSDEV.EXE" Good luck. Hey thanks! that worked . |
|
| 8378. |
Solve : Is there a way to block a program from opening with batch?? |
|
Answer» Is there a code I can type to block a program from opening? |
|
| 8379. |
Solve : NEED HELP RENAMING ALOT OF FILES.? |
|
Answer» Hello, I need help. I have 652 pictures that I would LIKE to rename in one shot. Here is an example of one file name. ... I have 652 pictures that I would like to rename in one shot. ... Is it imperative that you accomplish it from the command line, using the built-in COMMANDS in WinXP? From your wording, I suspect it is not. If you just want to get the job done, CHECK out IrfanView. It is a picture viewer/editor/manipulator/whatever type program. LOTS of features and functions. Very handy to have and use. One of its functions is.... batch processing. Includes batch renaming. You would have to examine it for yourself to determine if it will do your job. IrfanView is free. You can download it here: http://www.irfanview.com I hope this helps. |
|
| 8380. |
Solve : determine if today's date is odd or even? |
|
Answer» Hi folks, I've got this bit of code which is causing me a lot of puzzlement. % is a special character when it comes to batch code |
|
| 8381. |
Solve : How to start a paused Windows Service in batch mode?? |
|
Answer» I have a batch file RUNNING every night to stop/start a service for data backup purpose. Now I have two services - Service1 and Service2. I need to just stop & then start Service1 for data backup. However, Service2 is dependent on Service1, and this pauses when Service1 is stopped. |
|
| 8382. |
Solve : Help with forfiles command? |
|
Answer» Hi am using forfiles \P c:\backup /s /m *.* /d -7 /c "cmd /c echo @path" Instead of listing files just 7 DAYS old, command lists all files inside c:\backup. Is something wrong with my command?Researching this I GOT mixed signals. Microsoft TechNet used FORWARD slashes, but the forfiles command help used hyphens. |
|
| 8383. |
Solve : Batch file not working at all...? |
|
Answer» I'll try to be breif, |
|
| 8384. |
Solve : Strange behavior of SVCHost.EXE? |
|
Answer» every time i feel my system really DRAGGING[very very slow] and i check the task manager, i find the svchost.exe using over 90% cpu. if i end this process, everything immediately SPEEDS up and i do not have any known negative repercussions? i have read the entries on this process, but STILL WONDER what is going on with my system?No need to double Post. |
|
| 8385. |
Solve : adding a menu in a batch file? |
|
Answer» is there a way to add a menu where it says "file, edit, view" ect? I thought MS-DOS came with it? It does. Quote I am runing Win98' It does too. Quote on my home comp (and it has no Internet) Depends on whether or not you can put a copy of choice in a directory in the path. Or - learn the methods that can be used with XP. XP's command line has many capabilities that plain old dos did not. The way to do it has been covered many times here. You'll find it with a search. Quote from: gpl on December 20, 2007, 09:39:51 AM ... I doubt it would have been on a Win3.11 disk. More likely, choice.com would have been installed with the MS-DOS installation prior to installing Windows. Here is one place where choice can be downloaded: http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html Quote But this is the 21st Century, we dont need no menus in batch, it really is the wrong language to be doing that, use an html application (.hta) for the ui if you are unable or prohibited from using a proper development environ and use batch for what its good at. While you might not absolutely need menus, there is nothing wrong with learning how it was done. Besides - you never know when you just might need to know. Quote from: WillyW on December 20, 2007, 10:23:04 AM
Oh so true !! oops, just shows how long it is since windows was an app RUNNING on top of the OS, I had forgotten about loading DOS first.... or at least assumed that the unopened pack of win 3.11 disks Ive got contained the DOS disks too. Graham Quote from: gpl on December 20, 2007, 10:37:52 AM ... or at least assumed that the unopened pack of win 3.11 disks Ive got contained the DOS disks too. That set just may. I can't remember just how they used to package it. Unopened, eh? Hang on to that. It's value might be on the way BACK up! Collector's items and all that. Well, seeign as choice is a built in command, why wouldn't my menu work? it perfectly fine for me, I use dos editor when in dos mode, and Notepad when not. I use paint pretty often to, so I put my most used programs into one batch file, and alogn with kq3 i can EXECUTE almost any program I would normally use, from my little menu. I plan on elaborating it though. maybe like this: Code: [Select]@echo off :Begin cls echo 1. Editors echo 2. Imaging echo 3. Games choice.com /c:123 (1, 2, or 3)%1 if errorlevel == 3 then goto Games if errorlevel == 2 then goto Imaging if errorlevel == 1 then goto Editors cls goto end :Games echo 1. King's Quest III echo 2. Age of Empires choice.com /c:12 (1, or 2)%2 if errorlevel == 2 then start [dir[path]] aoe.exe if errorlevel == 1 then start c:\sierra\kq3 goto end :Imaging echo 1. Paint echo 2. example choice.com /c:12 (1, or 2)%3 if errorlevel == 2 then start example if errorlevel == 1 then start mspaint goto end :Editors echo 1. Notepad echo 2. MS-DOS Editor choice.com /c:12 (1, or 2)%4 if errorlevel == 2 then edit if errorlevel == 1 then start notepad :end That works if you have more files. . this introduces Categories don't forget to go %1, %2, %3, etc. .at end of Choice commands.Another way to do a menu in batch is described here: http://www.dostips.com/DtTipsMenu.php http://www.dostips.com/DtTipsMenu2.php From the extensibility point of view a cool thing. You can add new menu items and code ANYWHERE in the batch, the smart menu loop will automatically discover and display them. Like that? |
|
| 8386. |
Solve : Is It Possible To Start A .Bat File At Startup Of My PC?? |
|
Answer» Hi, I'm kind of new to making .BAT scripts. However, I managed to make a file that opens up google, my media player playlist and MSN but what would be really usefull is to open it up at the start up of my PC. Is it possible to do so? ... Which player? ... Windows Media Player? If so, I doubt it is possible. Reason: Go here - http://support.microsoft.com/KB/241422 I didn't see that as an OPTION. I think that if it were an option, it would be mentioned there. I found that page by googling "windows media player command line". You might want to give it a try... maybe you'll have better luck with what you find than I did. How about Winamp though? Will Winamp play whatever it is you need to play? I use it for MUSIC occasionally. I did find a free program to control Winamp from the command line. Downloaded and tried it. I didn't take time to experiment with all the options it offers - and there are a lot! - but I did make it launch Winamp minimized. (Win98SE and Winamp v.5.24 here) It worked fine. http://www.winamp.com for Winamp http://www.winampheaven.net/latest.php Winamp Heaven, if you need an older version of Winamp. http://membres.lycos.fr/clamp for command line program to control Winamp Found with Google - "winamp command line" - if you want to give that a shot too. (As ALWAYS, if you download this .EXE, be sure to scan it with an up-to-date AV program. I had no problem with it. Scanned it with AVG) I hope this helps. |
|
| 8387. |
Solve : How do you open starwars with a .bat?? |
|
Answer» I wrote a code because I was bored and showing off at school. But here I got stuck. |
|
| 8388. |
Solve : password help? |
|
Answer» ok so im on a non adminstrative account and i cannot change the admin password. it says that access is deniyed... I was wondering if it was possible to get passed the access is denied part to change the password?Only a Hacker can do this through a USB Hacksaw or Floppy and the OS has to have a SECURITY flaw to gain admin privileges... |
|
| 8389. |
Solve : SHUTDOWN.bat? |
|
Answer» No, we are not allowed to shutdown other users computers from a remote location.3 things yes i have the problem to, but how do you exactly make a .bat file the automatically executes when starting the PC? (yeah, i do hate school, so i first tried to shutdown all pic's, but its well protected, since some guy hacked the schoolsite, and posted it full with porn pics. but how can i make the shutdown.bat file, so it automatically executes when starting the PC. I have done this to myself 1 time using -r rather then -s and ofcourse on -t 00 just for fun I'm sure you can make up how to do this yourself if you just think about it for a second :pi forgot the code for how to send a code to make someone elses comp shutdown??? MasterMe you should start your own thread if you have a question you need answered. But in this case I don't think you should bother. We wont help you do anything MALICIOUS and/or illegal. |
|
| 8390. |
Solve : how to read the contents of a file and supply to an executable? |
|
Answer» Hi, |
|
| 8391. |
Solve : need help in creating renaming batch file? |
|
Answer» hello friends |
|
| 8392. |
Solve : Batch file to create a notepad file and change the date of it.? |
|
Answer» Hey i was looking up how to change the name of a file to a DATE in a batch which i have. however what I am trying to do is make a batch file that when run |
|
| 8393. |
Solve : Create date/time incorrect for newly created files? |
|
Answer» I have noticed a very strange BEHAVIOR when deleting a file and then immediately creating the file again. The created date doesn't change. See example below: |
|
| 8394. |
Solve : need help to solve this problem? |
|
Answer» hi all |
|
| 8395. |
Solve : Window Dos Command?? |
|
Answer» Has anyone ever seen the command .\ used in a batch file to move to the parent folder or can anyone tell me what this command mean? I am modifying a piece of software that is installed on a server. It works on the server as programmed but won't on my local PC with all the references path created. Is there some setting that need to be set before this command can be used? Need more details. Would you post some code please? One thing you'll need is an open path to the server. Sidewinder, You're right! When I set the path to '..\' the program works on my local PC. It goes up one directory and execute the program, just like on the server. Thank you, |
|
| 8396. |
Solve : Can't print from DOS app or cmd window in XP Pro 5.1.2600? |
|
Answer» Having trouble printing from an old DOS PRGM. I have used the Net USE command to route output to lpt1 to a shared printer on the PC. The printer is a USB printer. When I print, the job goes to the queue, churns for a bit and disappears, but no print. Same thing happens from the command window. I have no problem printing from any current apps on the machine, they hit the queue and print just fine. I have also configured a print to file and it does the same thing, into the queue, out of the queue, no file. There is no configuration within the PROGRAM so I am assuming it is set up for a TEXT line printer.What program is it? |
|
| 8397. |
Solve : Restarting a computer through the black and white screen before you boot? |
|
Answer» Quote from: havannahdouroux on January 07, 2008, 09:26:30 AM When I RESTART that way it takes off the update. when i go on to the computer to se if the DRIVER has been updated it hasent You're not updating the driver. You're updating the firmware. WINDOWS driver doesn't change just because the firmware CHANGED. The driver for operating the drive in Windows will remain the same after your firmware update. |
|
| 8398. |
Solve : Redirect dsget to file? |
|
Answer» Hi peeps |
|
| 8399. |
Solve : SEARCH AND APPEND? |
|
Answer» Hi Need to do this with DOS commands .Why? Let me know later in the semester how we did. |
|
| 8400. |
Solve : Floppy Boot Disk? |
|
Answer» I am trying to install WinXp Pro. I just need to know what do i type in A:\>I'm sorry but I don't get what you're trying to accomplish with your floppy boot disk. In order to install XP you will need a working XP install disc and CD drive.I read in another forum that you need the floppy to load up the drivers, because now the computer is blank.If you got a newer computer with SATA hard drives you may need drivers for the hard drive controller in order to install XP on the SATA hard drive. But these drivers are first necessary when the XP setup loads. Under normal circumstances this is about the only thing you should need a floppy disk for when installing XP. Since you said your XP install disc have been used successfully to install XP on the computer before, I suspect it might be a problem with either your BIOS boot setup or your CD drive. But if you want you can try these XP boot disks. These are meant for computers that doesn't support booting from a CD. http://support.microsoft.com/kb/310994Quote from: SuperDG on December 26, 2007, 08:58:50 AM hmm the disk is a copy but the activation key is genuine and it has worked in the past, the cd drive spins but it does not load. This is the dilemna right here... |
|