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.
| 7401. |
Solve : Load text file strings into variables? |
|
Answer» I'm running XP with SP 2. Command prompt version shows [Version 5.1.2600]. |
|
| 7402. |
Solve : Copy particular file and replace it into multiple sub-directories? |
|
Answer» Hi, I am having two folders, one is "Master" and another is "Projects". In Master, i have master file named with core.css. C:\test>type project0705.bat @ECHO off dir /s /b core.css dir /s /b core.css | findstr "project" > core.txt echo type core.txt type core.txt for /f "delims=" %%i in (core.txt) do ( copy c:\test\master\core.css %%i ) Output: C:\test>project0705.bat C:\test\master\core.css C:\test\project\project1\core.css C:\test\project\project3\core.css type core.txt C:\test\project\project1\core.css C:\test\project\project3\core.css 1 file(s) copied. 1 file(s) copied. C:\test>Thank you so much marvin, it really works for me. Do you have any IDEA how to apply this approach in VSS like my Projects and Master folder is in VSS so i need to first check out all core.css in folders and subfolders then applied copy command. e.g. I am using ss checkout $/Projects/project1/core.css I know it is out of this topic , but would be great if got any help on this. |
|
| 7403. |
Solve : Is there any DOS forums out there?? |
|
Answer» Hi, |
|
| 7404. |
Solve : Append a file content to another txt file? |
|
Answer» I would like to APPEND a file content to anther file |
|
| 7405. |
Solve : Ms-dos command prompt question for computer class using windows XP? |
|
Answer» I have two questions on a lab that I have due for a "Window XP command prompt" class. I'm having trouble FINDING the commands in my text book to do what the question is wanting. I am hoping that someone ELSE has had this before and can TELL me what command I need to enter. |
|
| 7406. |
Solve : How to test if "MD C:\A\B\C\D\E\F" will succeed - WITHOUT executing it.? |
|
Answer» I am bullet proofing a script to supervise the removal of all traces of a security application in preparation for the clean install of an upgrade. |
|
| 7407. |
Solve : Search directory, but ignore certain ones? |
|
Answer» I have a script that searches the entire hard drive and if it finds a file to delete the corresponding folder, now I would like to search the whole hard drive, but if the file is found in say the Program Files directory, how can I tell the program to print out a warning, but and to continue on instead of deleting that file. Can you post the record layouts and the record count of the gamelist.txt file I was actually surprised by the VBScript, but it seems pretty zippy. At LEAST this is readable and if your tech support groups have Windows they can run this. Code: [Select]Const ForReading = 1 strComputer = "." Set fso = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set f = fso.OpenTextFile("H:\gameLocations\gameList.txt", ForReading) Do Until f.AtEndOfStream = True retString = f.ReadLine fname = Split(retstring, ".")(0) fext = Split(retString, ".")(1) Set colFiles = objWMIService.ExecQuery _ ("Select * From CIM_DataFile Where FileName = '" & fname & "'" & " and Extension = " & "'" & fext & "'" & "") For Each objFile in colFiles If InStr(1, objFile.Caption, "c:\windows") > 0 Then WScript.Echo retstring & " Found In Windows...Not Deleting" Else If InStr(1, objFile.Caption, "c:\program files") > 0 Then WScript.Echo retstring & " Found In Program Files...Not Deleting" Else WScript.Echo retstring & " Found In " & objFile.Drive & objFile.Path WScript.Echo "Removing Files/Folder " & objFile.Drive & objFile.Path strFolder = Left(objFile.Drive & objFile.Path, Len(objFile.Drive & objFile.Path) - 1) 'fso.DeleteFolder strFolder, True End If End If Next Loop f.Close Save script with a vbs extension and run as cscript scriptname.vbs You can test this as written and see what it will do. When you ready for the production run, uncomment this line: 'fso.DeleteFolder strFolder, True by removing the single quote. This script can be most destructive, be very careful in it's application. Good luck. thanks so much, that works like a charm. I changed one line to actually say what it was searching for, other than that, I left it how it was. |
|
| 7408. |
Solve : Equivalence of REM and :: syntax: Problem with if clause? |
|
Answer» Please CONSIDER the following example: since DOUBLE colons are actually labels, they should be placed at the start of a command LINE; leading WHITESPACE is allowed, nothing else is ThorstenUsing double colon as REM substitute is unofficial and discouraged. It will break all parenthetical blocks including IF, FOR and && and || constructs. |
|
| 7409. |
Solve : open file then kill task? |
|
Answer» hi all, |
|
| 7410. |
Solve : another question involving the Windows XP command line class? |
|
Answer» I have another quesiton on my lab assignment that I can't figure out what the command is. A Files ready for archiving Maybe you need eyeglasses? |
|
| 7411. |
Solve : Self Renaming Batch File Help? |
|
Answer» I WROTE this batch file to test out some stuff I had just learned and I can not figure out why it's not working. |
|
| 7412. |
Solve : How to read text file and value into batch file variable?? |
|
Answer» Hi all |
|
| 7413. |
Solve : How do you add a string of text to multiple lines of text.? |
|
Answer» I'm creating a quick download batch file for use with rapidshare. I want to add 'START """ ' to the begining of each LINK when I copy and paste multiple links into a text file. I can copy and paste the start myself but I use this a lot and I'd like to AUTOMATE the process. Any help?Process the text file with a FOR loop. Prepend the additional text to each line and write it to a batch file, then call the batch file when you exit the loop. |
|
| 7414. |
Solve : killing a vpn via dos? |
|
Answer» hey guys, yes..so what is the command that you use to connect vpn?Also, if you can get the path of vpn and type path\file.exe /? in Command Prompt, we would learn if there's any COMMANDLINE parameters for it.having spent a day on google and speaking to the NETWORK admin at my office, i've found "rasdial" i can use; rasdail name-of-vpn username password this will connect me to already made vpn. Then it just a simple case; rasdial /Disconnect and i'm done. Cheers guys. |
|
| 7415. |
Solve : Using command line find and checkout particular file from VSS? |
|
Answer» I would like to search a specific extn file in a VSS Project > Multiple Sub Project through command line |
|
| 7416. |
Solve : Adding a new user? |
|
Answer» Hi peopple, |
|
| 7417. |
Solve : C:\ G:\ /D:04-02-2008/E/F/R/C/I/K/Y/EXCLUDE:\Windows\? |
|
Answer» XCOPY C:\ G:\ /D:04-02-2008/E/F/R/C/I/K/Y/EXCLUDE:\Windows\ |
|
| 7418. |
Solve : Appending the System Path using a Batch File? |
|
Answer» Hi there, does anybody know of an EASY way to APPEND the REGISTRY ENTRY for a system VARIABLE? |
|
| 7419. |
Solve : how do u make a batch file delete another batch file on exit?? |
|
Answer» i have opened a batch file called colorchange.bat, and it WRITES and calls another one called preferences.bat, which i want only temporarily, as it only contains one line of code. |
|
| 7420. |
Solve : Running a program and giving it input in a batch file...? |
|
Answer» I am not sure if I am going to word this correctly but this is what I am trying to do. I am WRITTING a batch file that will do a few things... create a text file...start a couple programs... but what I need to do is open a Development Shell for a COMPILER I am using and execute a couple commands. I have no PROBLEM getting the Development Shell to open in the process of doing things, but I dont know how to tell it to execute a command. This is the code I have so far: |
|
| 7421. |
Solve : Copy and....? |
|
Answer» I know how to copy a file and paste it to the same directory where the .cmd or .bat is located. contrex, I tried to PM you but it said you had blocked my message. I looked in my PM settings & somehow it was set to ignore all messages! (asterisk in ignore list box). Don't know how that happened. Well, after I asked why the OP wanted a script to do what he asked, a number of people replied that the OP was asking for a script for a "fork bomb". Well, a fork bomb is actually something different. The fork bomb is a form of denial of service attack against a computer system that implements the fork operation, or equivalent functionality whereby a running process can create another running process. What the OP asked for was a script which would continue copying a file indefinitely. The script supplied by Fen_Li, if run on a Windows system, would continue until the drive or partition was full. It could be copied, by a person who could not have dreamed it up themselves, onto a floppy or PENDRIVE or CDROM, or emailed into a school or work environment, where it would create havoc if run on machines in that environment by a malicious* person. * see Fen_Li's reply to me. So it is in fact a dangerous script. Fen_Li - please remove the advice you have given as it appears to be dangerous. If you do not remove the info within the next 10 minutes I will remove it myself. Thanks. Edit: thanks for removing the post.Fork bomb? First time I hear of that. I am new to MS-DOS and I was lurking though the help file looking at the "COPY" parameters. Then I wanted to know if there was a way to copy the same file automaticaly. I just wanted to know if it were possible though MS-DOS. I know how to do it in Visual Basic but since MS-DOS seems more simple to me, I just wanted to know how to do it in MS-DOS. If nobody can help me, it's OK. There are MS-DOS books I can buy that can help me. Its just that I wanted to take the easy route. Take Care! What do you mean "copy the same file automatically". Why would you want many copies of the same file in one folder? Quote from: FORMAT on September 11, 2007, 08:03:08 AM If nobody can help me, it's OK. There are MS-DOS books I can buy that can help me.yup, read those books, and then using the pseudocode that i posted as a guide, you will be able to come up with one on your own.A good friend of this forum sent me the code. It does work but it did not function automatically. What I had to do was place "Call (and the name of the .CMD or .BAT)" and woohoo! It started copying automaticaly! Problem is that after deleting the files. The Hard disk is still missing valuable free space. I don't know why... Anyway, Thanks guys! |
|
| 7422. |
Solve : turn on a computer remotely? |
|
Answer» Hi, Although I would see how turning computers on remotely would be useful but a little exercise pressing a few dozen buttons wouldn't hurt...are you an administrator by job nature? if not, you shouldn't jump to such conclusions as to the usefulness of WOL. See here for a random example. crosstec remote control will let you turn remote computers on and off over a network, among tons of other remote control features. It's kind of an expensive program, but very impressive. Another option is to train a monkey to push the power button for you. |
|
| 7423. |
Solve : Batch file to check not responding processes in one exe?? |
|
Answer» HI, Has any one got any IDEAS how I could go about writting a batch file to check whether a server process ( one exe ) has stopped responding I guess I'd use the TASKLIST COMMANDLINE, but me DoS skills are extremly limited?! Thanks in advance. thanks, SENTHIL |
|
| 7424. |
Solve : auto up ftp? |
|
Answer» hi there, |
|
| 7425. |
Solve : How to add some text to all txts in directory?? |
|
Answer» How to add some text to all txts in directory? for /f "delims=="" %%A in ('dir /b *.txt') do echo blah blah blah >> %%AI think 'double "' is the problem.. --- for /f "delims=="" --- --------------------------------------------------------------------------------------------- for /f "delims==" %%A in ('dir /b *.txt') do echo blah blah blah >> %%A |
|
| 7426. |
Solve : How to check the single exe in system process? |
|
Answer» Hi, |
|
| 7427. |
Solve : Want to run win98 from a dos boot? |
|
Answer» I have an Itronix laptop that is running Win98 |
|
| 7428. |
Solve : how to tell if "The device is not ready or not"..??? |
|
Answer» is there a way to test if a drive is available-ready or not using cmd-batch codes..?? |
|
| 7429. |
Solve : inputting data to another file with dos? |
|
Answer» hey all, |
|
| 7430. |
Solve : using dos base programme in window vista in full screen mode? |
|
Answer» hi the solution is of course to get rid of that ugly drm-riddled Vistawhaa... you can have 2 OS'? ummm sweet... and ummm how? and ummm does it take up HDD space? and ummm will it screw up my pc if i do it wrong? and um tuts, links, galore? |
|
| 7431. |
Solve : Help with echo command.? |
|
Answer» So I want to echo something along the LINES of 123|456|789 to a text file. I know how to do that using |
|
| 7432. |
Solve : Simple .bat file? |
|
Answer» Hi, as topic name said i need help making simple .bat file. |
|
| 7433. |
Solve : Copying hard drive? |
|
Answer» Hi, Ok, so I FDISK th e drive and create a partition and then copy the data over....right? Fdisk to create the partition, then Format using the /S parameter to transfer system files to the new drive (IO.Sys, MSDos.sys and Command.com) then copy the data. See the commands/parameters listed here for MS-Dos ver.6 Good luckyes once you make a partion and THEN format it then you can ghost it with Norton.What version of Ghost is this ? ? The Ultimate Ghost Resource Kudos and Thanx Again to the folks at Radified ! |
|
| 7434. |
Solve : msdos? |
|
Answer» Hello.. |
|
| 7435. |
Solve : Dos Help Command "copy /b"? |
|
Answer» Hi! |
|
| 7436. |
Solve : Execute EXE through a Batch with Windows Command? |
|
Answer» Hi there, does anybody know if it's possible to execute a file within a batch file and have it also run some windows commands? |
|
| 7437. |
Solve : Batch errors? |
|
Answer» I am trying to make a simple batch file that will copy jpgs to a flash drive, renaming each jpg in a numerical COUNT (1.jpg, 2.jpg, 3.jpg, etc) and log the corresponding number with original location/filenames to a log (list.txt) xcopy command is apparently ignoring the handles I have sent to it Do not understand the terminology. Try piping the XCOPY response: echo D | xcopy "%%F" "%targetfolder%\!num!.jpg" /s/c/q/r/h OR echo F | xcopy "%%F" "%targetfolder%\!num!.jpg" /s/c/q/r/h You might want to double check if those are the proper responses. Sorry, to clarify: Xcopy is ignoring the handles/options/attributes I'm trying to send it with the source and destination: "/s/c/q/r/h" which tells it to search subfolders, continue even if there are errors, do not display filename while copying, overwrite read-only files, and to copy hidden and system files; respectively |
|
| 7438. |
Solve : Find text in file? |
|
Answer» I have searched the forums, and found several instances of using FOR in a batch file to read lines of text from a text file... what I need is to read a specific portion of a line of text. Basically, I'm writing a script that will get the version of the current bios, so that I can then automate updating the BIOS. |
|
| 7439. |
Solve : DNS on xp? |
|
Answer» how to get DNS by USING command prompt in windows xp?what do you mean "get DNS" ? |
|
| 7440. |
Solve : How to capture file path in a variable? |
|
Answer» Hi guys, set variablename=value To use it in code, Quote echo %variablename%hi guys, i need to set the filepath as variable but not value. plz help me.. thanks regards, chinnaWhat do you mean you want to set it as a variable but not a value? A variable in a batch program has a value, whether it be numeric or a string of CHARACTERS it is a value. |
|
| 7441. |
Solve : All batch file items execute at once? |
|
Answer» I am using a DOS batch file to execute SEQUENTIAL jobs using MATLAB to run overnight. Because Matlab tends to cause memory fragmentation, I have found that exiting Matlab and restarting for the next job is the best way to conserve memory. At the end of each file I use quit to exit from Matlab and proceed to the next job which opens a new instance. A sample of the batch file is given below: |
|
| 7442. |
Solve : How to copy a directory using a startup disk or Installation CD? |
|
Answer» I have been in a fix for some days....the issue is a simple one but couldnt find any solution to it Remember xcopy and Robocopy only run when u r in Windows XP Environment. The version of xcopy that comes with Windows 98 works fine from my MS-DOS 7 startup disks and my bootable MS-DOS 7 pen drive. However as you say, Robocopy is a 32 bit Windows application. Sounds like you need the right version of xcopy.exe. |
|
| 7443. |
Solve : Set command help!!!? |
|
Answer» hi all, i am need of some help for using the set command, in place of the choice command in XP. Here is my task: hi all, i am need of some help for using the set command, in place of the choice command in XP. Here is my task: give this a try and let me know if you need it to do SOMETHING more. code: @echo off :loop cls & echo. & echo Choice echo A-Ipconfig & echo B-Echo & echo C-Findstr & echo D-Xcopy & echo E-Set & echo F-EXIT echo. & set /p chs=- echo %chs% |findstr /i /r "[a-f]" if /I %errorlevel% == 1 goto bad if "%chs%"=='' goto bad if not '%chs%'=='' SET Choice=%Choice:~0,1% if "%chs%"=="a" set chsa=ipconfig if "%chs%"=="b" set chsa=echo if "%chs%"=="c" set chsa=findstr if "%chs%"=="d" set chsa=xcopy if "%chs%"=="e" set chsa=set if "%chs%"=="f" goto exit cls & %chsa% /? echo PRESS any key pause>nul goto loop :bad ECHO "%chs%" is not valid. Please try again. ECHO. ping -n 2 localhost > nul GOTO Loop :exitwow, thnx guys!!! i used set, if...........modified a bit using goto but cool!! Thnx again!! |
|
| 7444. |
Solve : batch file that can assign a specific IP Add... help pls? |
|
Answer» any one who can help me about creating a batch file that can assign specific Ip add, subnet mask, DEFAULT gateway, and DNS.... THANKS in advanceWithout KNOWING your OS, we can only GUESS that netsh might work. |
|
| 7445. |
Solve : When Window is closed start website..??? |
|
Answer» how do i make a batch script to wait for a SPECIFIC titled window to close and then once it closes i need it to GO to a certain website. |
|
| 7446. |
Solve : disable and enable network connection settings using batch file? |
|
Answer» hi guys! ANYONE here knows how to create batch file to disable and enable network connections settings? i badly need it ASAP..HOMEWORK?NOPE. im a newbie IT Staff in our company and sad to say im the only IT Staff here. this company is just under workgroup, that's why it has a weak security. and some user's are changing their network setting just to have an INTERNET access. |
|
| 7447. |
Solve : Running Path? |
|
Answer» Hi. I'm TRYING to call a batch file from another batch, both scripts are in the same folder, but the first one to run is called from a scheduled task, in a remote computer, and the location of scripts may vary depend on many factors. |
|
| 7448. |
Solve : How the *censored* do i install MSCDEX ???? |
|
Answer» I have windows XP and would like to play an old game. It asks me to install MSCDEX v2.21 or above. you have to put mscdex "microsoft cd extension" in c:\autoxec.bat (or autoexec.nt or whatever winXP uses, perhaps in c:\WinNT\System32\ or c:\Windows\System32\ instead of c:\ ?) so dos and dos-programs can read the FILES on your cd. (without it, dos just ignore your cd-disks) but since back in the dark ages (~1990 or so) all cd players were not connected in the pc in the same way, you needed a device driver too, and that driver should be loaded in c:\config.sys (or perhaps config.nt if you use winXP) Since you have a new computer, you need one for cd-players connected with the normal ide/atapi -interface in the computer (the same way you connect normal parallell harddisks) it can look something like this in c:\config.sys this line was added: DEVICE=C:\ATAPICDD\ATAPICDD.SYS /D:MSCD001 in c:\autoexec.bat this line was added: C:\SHSUCDX\SHSUCDX /D:MSCD001 "MSCD001" is just a NAME, but it have to be the same name in both files. you can write FRITJOFF if you like :-) if you're not having a cd-driver file there allready you can SEARCH google for dos cdrom driver or something or use this one that freedos uses: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/xcdrom/ with that one you have to write DEVICE=C:\Xcdrom.sys /D:MSCD001 instead of course (if you put your driver in c:\) ....but if you use DOSBOX, perhaps you should instead just look at this page http://www.dosbox.com/wiki/MOUNT about how to "Mounting your CD-ROM in DOSBox" More info about how to run games in dosbox at http://www.dosbox.com/ :-) Woah ! Thats real good information right there . But i tried to use your info and it still says mscdex not installed. What is all that ATAPICDD and SHSUCDX in the syntax ? Do i have to make a autoexec.bat and config.sys for myself ??Quote from: hopefulguy on April 23, 2008, 09:49:24 PM But i tried to use your info and it still says mscdex not installed. oups :-) I ment MSCDEX not SHSUCDX (I was just pasting from freedos pages, and in freedos mscdex is called SHSUCDX. Both are small programs that do the same thing, "extending" dos so it can use cds, the one made by microsoft is called mscdex and the one made by someone at freedos is called shsucdx. there are other such programs too that you can use instead of course, some made to live under windowsNT/2000/XP) ATAPICDD.SYS is just the dos cd-rom driver in the example (a generical one for modern cd players I belive, but there are others, and with old computers you want one that matches the way the cd player is connected) Another example how it could look like with windows98..... in c:\config.sys: device=c:\oakcdrom.sys /d:hello in c:\autoexec.bat: c:\windows\command\mscdex /d:hello When dos start it first read config.sys and load drivers like himem.sys (for extended memory) and oakcdrom.sys ("Generic device driver for ATAPI CD-ROM drives") into memory and read settings there. Then it starts to execute the dos-commands and run the programs listed in autoexec.bat, like setting the path variable and running the program mscdex.exe (a program that helps dos understands cd's). After that it displays the dos-prompt where you can enter commands and start programs. If you start a dos-program from within windows, things work a little differntly depending on what windows version you use. O.K. I get it , Thanx. This really helped me. I'm 1 step closer to getting the game to work. But the thing is my MSCDEXNT (already installed from when i bought this computer) seems to be corrupt (i.e the game talks about a fatal error due to corrupted MSCDEX) . I downloaded the new MSCDEX version but i can't get it to replace the already present MSCDEXNT. Every time i delete MSCDEXNT it promptly appears back again and again. What am i supposed to do |
|
| 7449. |
Solve : Ping Specific Ip batch file? |
|
Answer» How can i do ? @echo offThis is the absolute minimum code that will do the desired task set /p ip=IP Address to ping: ping -t %ip% The -t switch tells ping to continue until Ctrl + C are pressed. i am in a good mood too. here's a vbscript. Code: [Select]'******************************************************* '* Name: pingMachineArgs.vbs **** '* Function: Ping a machine * '* Input: Machine IP/hostname * '* Limitation: Only a few response cases. **** '* Author: ghostdog74 **** '* Usage: cscript /nologo pingMachineArgs.vbs 127.0.0.1 * '******************************************************* Option Explicit Dim objPing,objFSO,objArgs Dim query,PingMachine,PING,response Set objArgs = WScript.Arguments PingMachine=objArgs.Item(0) Set objFSO=CreateObject("Scripting.FileSystemObject") query="select * from Win32_PingStatus where address ='"& PingMachine & "'" Set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecQuery(query) For Each PING In objPing Select Case PING.StatusCode Case 0 response="Reply from " & PING.ProtocolAddress Case 11002 response="Destination Net Unreachable" Case 11003 response="Destination Net Unreachable" Case 11010 response="Request Timed Out" End Select Next WScript.Echo response Code: [Select]@ECHO OFF COLOR 0A TITLE PingUtil :LOOP1 SET /P ENDMAQ=ENDERECO: TITLE %ENDMAQ% ping -t %ENDMAQ% TITLE PingUtil SET ENDMAQ= GOTO LOOP1 Now how can i doto rename the tittle window to %ENDMAQ% ON if it is responding and %ENDMAQ% OFF if not respondig ?If not respondig, errorlevel will be 1, otherwise will be 0. But you can't use -t in this case. You must ping de ip address, check errorlevel, CHANGE title, and go to loop1Maybe I GOT this wrong, but I understand that if you: @echo off ping xxx.xxx.xxx.xxx OR @echo off ping name_of_the_resorce you should be done |
|
| 7450. |
Solve : I do not have autoexec.bat or config.sys !!!? |
|
Answer» The C:\windows\system32\ does not contain autoexec.bat or config.sys . The C:\windows\system32\ does not contain autoexec.bat or config.sys . since you mention C:\windows\system32\ probably you are using windowsXP and not just ms-dos ? in windowsXP they have renamed the files autoexec.nt and config.nt and put them there instead of in the root c:\ where they belong in real dos. what are you trying to do? those two files are textfiles that contains your dos-settings and are not programs. if you have not changed any settings from default, they will perhaps not exist yet. if so, you have to create them yourself with for example notepad. since windowsXP don't have support for real dos like windows98 had (win98 is a better OPERATINGSYSTEM if you want to run dos-things) you probably want to run dosbox wich is a program that EMULATES dos and hardware like Soundblaster soundcards that old dos-games need. Ah yes! you are right , i do have config.nt and autoexec.nt . But they are just full of nonsense , Look at my autoexec.nt : *** REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment. REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a REM different startup file is specified in an application's PIF. REM Install CD ROM extensions lh %SystemRoot%\system32\mscdexnt.exe REM Install network redirector (LOAD before dosx.exe) lh %SystemRoot%\system32\redir REM Install DPMI support lh %SystemRoot%\system32\dosx REM The following line enables Sound Blaster 2.0 support on NTVDM. REM The command for setting the BLASTER environment is as follows: REM SET BLASTER=A220 I5 D1 P330 REM where: REM A specifies the sound blaster's base I/O port REM I specifies the interrupt request line REM D specifies the 8-bit DMA channel REM P specifies the MPU-401 base I/O port REM T specifies the type of sound blaster card REM 1 - Sound Blaster 1.5 REM 2 - Sound Blaster Pro I REM 3 - Sound Blaster 2.0 REM 4 - Sound Blaster Pro II REM 6 - SOund Blaster 16/AWE 32/32/64 REM REM The default value is A220 I5 D1 T3 and P330. If any of the switches is REM left unspecified, the default value will be used. (NOTE, since all the REM ports are virtualized, the information provided here does not have to REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only. REM The T switch must be set to 3, if specified. SET BLASTER=A220 I5 D1 P330 T3 REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid REM SB base I/O port address. For example: REM SET BLASTER=A0 *** There's no such line about the driver "MSCD001", how do i create a new file for myself ? can you pls tell me? Quote from: hopefulguy on April 23, 2008, 09:43:56 PM Ah yes! you are right , i do have config.nt and autoexec.nt .yeah hehe... that was lots of comments but the thing is, since your winXP does all the things itself (that dos should have done) there is not much things to set. there is no real dos in winXP after all, it just pretends to be :-) Quote from: hopefulguy on April 23, 2008, 09:43:56 PM lh %SystemRoot%\system32\mscdexnt.exethis line is windowsXP's own version of mscdex that don't need the MSCD001-parameter because it is especially made to just ask windowsxp do its STUFF for it. So mscdexnt don't need a dos device driver in config.sys for the cd - and thereby not need the cddrive-name MSCD001 to connect the driver with mscdex I've read that xp's version of mscdex is somewhat limited though and can't do everything that is shuold so some games won't work: http://vogons.zetafleet.com/viewtopic.php?t=1715 Quote from: hopefulguy on April 23, 2008, 09:43:56 PM REM Install network redirector (load before dosx.exe)those are support for network and for 32-bit dos-applications and such Quote from: hopefulguy on April 23, 2008, 09:43:56 PM SET BLASTER=A220 I5 D1 P330 T3settings for xp's emulation of the Sound Blaster 2.0 soundcard that is address, interrupt and dma-channels that dos-programs need to know to be able to use the soundcard Quote from: hopefulguy on April 23, 2008, 09:43:56 PM There's no such line about the driver "MSCD001", since xp dont have a device driver in config.sys (or config.nt) for the cd when using mscdexnt instead of mscdex, it don't use a name like MSCD001 for it Cool ! You seem to know a lot about these things. Well i would really like to use a device driver so that i can GET my game to work. I tried xcdrom.sys (like you said) but i don't think its working. Is there any driver for SAMSUNG DVD-RW About that MSCD001 , i'll try to make one up myself. (again,like you said) |
|