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.
| 8401. |
Solve : How to Suppress MSDOS Overwrite Messages?? |
|
Answer» Hi, |
|
| 8402. |
Solve : Typing more than one command at the dos prompt? |
|
Answer» Anyone FAMILIAR with how to type more than one command at the Dos prompt. I have to enter 3 commands and the Enter key does not move me to the NEXT line. Is there a way to type all 3 lines on one line?aldejais, ver & echo.two & echo.three 2. Start with an opening bracket. Now Enter will move to the next line asking form "More?" until you CLOSE the bracket. Quote C:\>( ver DOS IT HELP? |
|
| 8403. |
Solve : Creating a Windows shortcut from a batch file? |
|
Answer» Is there a way to create a windows shortcut on the desktop from a batch file? The .ico file exists, I just need to automate the process of adding the shortcut to the USER's desktop. Is there a way to create a windows shortcut on the desktop from a batch file? Not that I'm AWARE of. If you've ever viewed the contents of a shortcut file (.lnk) you'll see why. Any reason you're restricted to batch code? This is easily ACCOMPLISHED in many of the Windows Script languages. Let us know. |
|
| 8404. |
Solve : Missing NTLDR File? |
|
Answer» Hi my NAME is Al. Trying to HELP my nephew troubleshoot a error that involves a missing ntldr file. I got the directions from internet. But when we try to use DOS and type in the command, we need to go to the next line to type in another command. We press the Enter key to go to the next line but the cursor does not MOVE and we receive an error message. |
|
| 8405. |
Solve : playing music inside of a batch? |
|
Answer» Is it possible to make the batch file play music within it self |
|
| 8406. |
Solve : 2 questions - Move inc subs + some harder question.? |
|
Answer» Question 1 is prob easy for most of u , but i couldn't figure out how .. |
|
| 8407. |
Solve : name help? |
|
Answer» what does this NUMBER mean? \\kk 30309-7djfh91 it says its a comp NAME but could someone break it down? thanksIt says where?i went online at school and its the computer name.Says where?ok so i got on command prompt and typed in net view. it came up w/t over 1000 comp NAMES. this was one. i just need to know what is in it to see what computer it is |
|
| 8408. |
Solve : Restarting Collectors? |
|
Answer» Hi all, |
|
| 8409. |
Solve : save environment variable with set path? |
|
Answer» Hi,
You're opening a command prompt window, and this is what you are referring to when you say, "If I close the prompt" .... right? Quote and open again it I need to set it again. Are you using WinXP? Here, using WIN98SE, within the Properties of the Dos shortcut, I have it set to automatically run a batch file every time I open the command prompt window. I expect that you should be able to do that with XP too. Then it is simple. Just put whatever commands you want in that batch file. In your example, you'd be setting the path. ( I LIKE to load doskey ). From then on, whenever you open a command prompt window with that shortcut, your path would be set right then. I hope this helps. |
|
| 8410. |
Solve : possible to make a program like edit using Batch? |
|
Answer» So you know I am using a Windows XP for the batch coding and programming. My linux STUFF will cxome later. |
|
| 8411. |
Solve : SATA, 137 GB Barrier, and NTFS, DOS Question? |
|
Answer» Is there any way to get *any* PROGRAM to work in DOS using drivers which do all of the following: support SATA drives, enable greater than 137 GB drives, and read NTFS? I am trying to get ImageCenter 5.6 (Drive Image 2002) to work in DOS with a SATA 160 GB drive. |
|
| 8412. |
Solve : Finding and replacing string in a file? |
|
Answer» I apologize for posting my Q in another's topic. |
|
| 8413. |
Solve : Edit .ini file - find and replace? |
|
Answer» Hi all. I am new in writing bat scripts. I need something that will find a STRING in a specific .ini file and replace it with something else. |
|
| 8414. |
Solve : Open file every 30 seconds? |
|
Answer» lovley works a charm, thank youHi JTWork, lovley works a charm, thank you I saw you other post in that thread before reading this one. That one was posted by you a few minutes before this one. You'd said that the link didn't work. ( I just tried it - it works for me) But now reading this one, I'm thinking that you did get it to work, and have tried that little "wait" utility program, and FOUND it to your liking. Is this correct? .... I hope so. |
|
| 8415. |
Solve : the elder scrolls arena mouse problem? |
|
Answer» i have: Sounds like you might need native DOS mouse drivers for that game.Yep. http://www.elderscrolls.com/forums/ |
|
| 8416. |
Solve : How to run .bat file in silent mode?? |
|
Answer» How to run .bat file in silent mode? So anybody can help me? Well you could use VBscript to run it HIDDEN...try something like this. |
|
| 8417. |
Solve : need batch file to ask for a filename? |
|
Answer» Hi all, I'm a NEWBIE re batch files etc so I need your help please. REM for diagnosing minidump filesQuote Hi all, I'm a newbie re batch files etc so I need your help please. Maybe a utility program would do what you need. Check out: http://short.stop.home.att.net/freesoft/batch1.htm Look for : " INPUT — Get console input from within a batch file. " . I HOPE that helps. To get user input, use SET /P, eg SET /P MyFileName=Which File ? GrahamThanks for the replies, I am using a program called automate, does a LOT more than just batch files and is just what I need, but many thanks for the tips links and advice: http://www.networkautomation.com/automate/ |
|
| 8418. |
Solve : Edit a text file? |
|
Answer» Hi All,
But does ftp, when it reads data.txt for its commands convert %current_date% to the env var , or does it read that text literally? This happened to me recentl I ended up using my batch to write the contents of the ftp script each time it was called, in which case, the batch expansion of the date variable will occur and the literal value will be written to the script file Cheers GrahamQuote This happened to me recentl You mean that the original poster would need to use dworley's line of code to set the env var, then run a batch file something like this? : Code: [Select] @echo off echo user Username Password > data.txt echo put somefile%current_date%.txt >> data.txt echo bye >> data.txt I am not sure thats going to work. My goal was to inject a new name for a file that had the current date into a text file. That way the FTP session would use the new data.txt file for its session. Maybe I don't understand what was suggested. Hi, I re-read the answer and I think I understand it now....ok I am a little slow. I am going to give it a try. Thanks for your help!! Quote Hi, And I thought I was the only one that had to go over things more than once. Quote I am going to give it a try. That's the spirit! Quote Thanks for your help!! We'll see. If it works. I hope it does help you. Let us know what happens. Quote
Don't hesistate to quote anything you are unsure of, and ask. Ok...I must be doing something wrong. I copied the sample code above and added the set date from above and it worked fine. It wrote me a data.txt file and it had everything in it that I would need to use for a FTP session. Than I made the changes to ADD the real stuff I wanted in the data.txt file and its not working any more. Here is my bat file: set current_date=%date:~10,4%%date:~4,2%%date:~7,2% @echo off echo user sm2thy joneser > data.txt echo cd /cool/directory/OK.Now >> data.txt echo put C:\FTP\TEMP\BOB.LCT%current_date%.DAT >> data.txt echo put C:\FTP\TEMP\BOB.TCL%current_date%.DAT >> data.txt echo put C:\FTP\TEMP\FEDWL.TXT >> data.txt echo bye >> data.txt pause And here is the out put in the data.txt file. user sm2thy joneser cd /cool/directory/OK.Now put C:\FTP\TEMP\BOB.LCT20070118 .DAT put C:\FTP\TEMP\BOB.TCL20070118 .DAT put C:\FTP\TEMP\FEDWL.TXT bye pause I don't know how to get rid of the extra space after the date in the files name. Also can someone tell me about the > in the bat file? Why is there only one of them in the first line but all the others need 2? Thanks for your help!! Quote Ok...I must be doing something wrong. I copied the sample code above and added the set date from above and it worked fine. It wrote me a data.txt file and it had everything in it that I would need to use for a FTP session. Great! That sounds good, so far. Quote Than I made the changes to add the real stuff I wanted in the data.txt file and its not working any more. I don't have XP, so I can't try that command and experiment with the switches, etc. Hopefully somebody else will be along soon that can work it out for you. Quote Also can someone tell me about the > in the bat file? Why is there only one of them in the first line but all the others need 2? Those are redirection symbols. Means 'take the output and instead of printing it to the screen, print it to the file which is named next'. One ' > ' also means, ' and if that filename ALREADY exists, overwrite it'. Two '>>' means, ' and if that filename already exists, don't overwrite it, but append to it' . Check the file date/time stamp, after you've run your batch file more than once. data.txt is always new, isn't it? That line using only one > is creating a new data.txt each time. Quote Thanks for your help!! You are welcome. I hope you get that blank figured out soon. You're almost there. A space is a very real character and is included in the set statement WHENEVER the space bar is used. Ensure there is no trailing space after the LAST % symbol in your set statement: set current_date=%date:~10,4%%date:~4,2%%date:~7,2%[highlight] [/highlight] Good luck. 8-)Very cool! I checked and I did have a space at the end. I would have never thought of that. Thanks!! Now I am going to plug all of this into the full script. Thanks for everyones help! |
|
| 8419. |
Solve : [solved] HTTP request from DOS batch, is this possible ?? |
|
Answer» Hi, OR, you can use Windows Curl...search the web for "Curl for windows" Oh oh ! This one's good ! Keep It Simple example: @echo off "C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://hotmail.com" cls exit is this what you needed?Thanks mariah. Your solution's good too I've choose to install curl for windows. it's light, easy, and i know it ! Thanks to all of you for your suggestions. Diego |
|
| 8420. |
Solve : BATCH RENAME? |
|
Answer» I have (what i believe) something simple.... |
|
| 8421. |
Solve : MDDOS directories? |
|
Answer» How do I REMOVE a directory with a space (RD bunny 2). I beleive there is a special code that takes the place of the space.There is no special code that takes the place of the space. |
|
| 8422. |
Solve : Renaming MS Word Documents thru batch files..? |
|
Answer» Can somebody write a batch file to rename MS Word documents. SAY my files are NAMED as 543MTS.doc, 544MTS.doc, etc (nearly 100 word files). I want to rename all my files to 543MTS19012007, 544MTS19012007. I hav nearly 100 documents in a folder like this...Can a batch file be created to rename all my files or can somebody create a batch file to rename all my files...And the important thing is I am not a programmer, let ur ans. be BRIEF.....This question seems strangely familiar. Oh well, onward and upward. |
|
| 8423. |
Solve : NTVDM issues running DOS pgm under XP? |
|
Answer» I am trying to run a DOS program under XP. I am already successfully running the program on my DESKTOP computer but want to run on my laptop. Changed the buffer size and number of buffers to the same as the desktop computer. This is in Properties of the DOS/NTVDM.exe I was unable to find buffer size or number of buffers on any of the property sheets for the DOS/NTVDM. Quote I added a couple of parameters to Config.NT Dos started fine on the laptop Care to MENTION what parameters? In general, unless your application has specific requirements, it's best to leave the properties for both CMD and COMMAND prompt at their default values. 8-) |
|
| 8424. |
Solve : Compare Documents in MS word with a Batch File? |
|
Answer» Can a batch file be written to compare two documents in a word...I have a set of word documents in one folder and the edited version (MS Word Files) in another folder...Say these two folders have 100 word documents...For comparing documents in MS Word everytime I hav to go to Tools>Track Changes>Compare Documents>Edited Folder...It is time comsuming when I have to compare 100 documents...Can somebody write a batch file for me to compare documents in MS Word or is it possible to write a batch file in MS Dos. Sorry, I am not a programmer...Let ur ANSWERS be brief pls...The batch world has a COMP command which is geared MOSTLY for text files. Word files are extremely complex with control characters up the gazoo. By using Word to create the documents, it's best to USE Word for the comparisons. |
|
| 8425. |
Solve : Is it possible to..? |
|
Answer» Is it possible to open pictures or a music file when you run a batch file? If so, WOULD you help me please? |
|
| 8426. |
Solve : MSAccess from a batch file? |
|
Answer» Is it possible to retrieve or update MSAccess records from a BATCH FILE. It needs to work over a Telnet Server so even a VBS script will not work. Here is a simple VBS script that I am testing with. I need the equivalent in a batch script. |
|
| 8427. |
Solve : "Search and replace" script? |
|
Answer» Hi, |
|
| 8428. |
Solve : "Run as..."? |
|
Answer» I am constantly having to run Internet Explorer using the Run As command. This way I can log in as an administrator and perform the tasks I need to perform and then shut IE down. Now, can I place a 3 second pause then have the password automatically entered?? or.... Couple of problems with this: 1. While waiting for the password, runas is still running...you would have no opportunity to kick off a delay 2. BATCH code knows nothing of windows and their processes You could try to pipe the password to runas, but this a security breach. Use at your own RISK: echo password | runas /user:domain\USERID "c:\program files\internet explorer\iexplore.exe" The real question is why you need to run internet explorer with credentials not your own. Is your system having other issues? 8-)SIDEWINDER.... This is the deal/why's I'm doing it this way. I am a Functional Systems Administrator in a Very Very Very large newtork. I have around 750 computers that I'm directly responsible for plus the network has over 7000 workstations and on top of that a database of around 5000 Student ID's that are temporary and ever changing. In order to perform administrative functions (i.e. password resets, or simply navigating the network) You have to log out locally and then log in again with your administrative account. With the "Run As" command, I can run Internet Explorer from my regular local user account and still get most of the benifits of logging out. ( I hope this is making sense ) Any way.... TYPING my username and password all day.....every day....is driving me insane!!! There shouldn't be a security risk....unless I leave my workstation unlocked, but we are on a CAC system so this is unlikely.....or someone could, theoretically, get into the root of my computer and find my "Bat files". But then I'd hunt them down and disable there ability to even touch their computer!! 8-) Anyway's....thanks again for the help. I'll give this a shot first thing Monday Morning!! (This is being sent from my Home Account) |
|
| 8429. |
Solve : How to copy a file from one server to another every thursday!? |
|
Answer» I need some help on the ISSUE below and I would appreciate if somebody can help me. |
|
| 8430. |
Solve : Update With Time? |
|
Answer» hey guys i WOULD like to know how can i update a batch file once a week Automatically. |
|
| 8431. |
Solve : Email Id's Storage? |
|
Answer» I Have COLLECTED a large number of Email Id's for the publicity of my products. I WANT to know how can I store them in my Pc in such a way that none of the Id's gets repeated while typing, pasting or TRANSFERRING Id's. |
|
| 8432. |
Solve : Subtracting from variables in a MSDOS batch script? |
|
Answer» hi, Ghostdog, I meant if the day in the month was '1'. Would it return '0' or 28/30/31?dateadd takes care of that for you. You can just try by CHANGING your date in the computer and experiment with it. lol. That renders my script useless, it works though. If you have installed Logparser (and who hasnt!) try this 1 liner logparser -o:NAT -q:on "Select Top 1 TO_STRING(SUB(SYSTEM_TIMESTAMP(), TIMESTAMP('01-02', 'MM-dd')), 'yyMMdd') as d1 Into 'yesterday.txt' From System" I haven't, mine still works though. Regardless of all the one-liner scripts vs my pure batch thing, can someone tell me if I used setlocal enabledelayedexpansion correctly, it's the first time I've used it. From what I understand it helps if you are trying to set something inside a IF body that is the same as the IF comparison?Thank you guys for your help. Quote from: DeltaSlaya on July 24, 2007, 05:20:13 AM can someone tell me if I used setlocal enabledelayedexpansion correctly Looks fine to me. |
|
| 8433. |
Solve : regarding file size? |
|
Answer» Hello everyone does for really open the file? It does if you put a filename in single quotes like that, which is the way that you execute a program or start a program associated with a file. For example... for /f %%a in ('anyname.doc') do ( echo %%a ) That is the same as typing "anyname.doc" at the prompt, and will open the file, if it exists, in the program associated with the .doc extension, on my system this is Microsoft Word. Leave out the quotes, Victor, if you want to avoid opening the file! Also you should learn when to use /f and when not to, and what the "delims=" does. |
|
| 8434. |
Solve : Run a file every ...? |
|
Answer» Does someone know how to run a batch file on the 25 till the 31(30) of every MONTH? I know you should use the command: at and /date or something, but it doesn't seem to work with me. I'd use the task scheduler of Windows XP if XP Pro... The easy way! 8-) I'd like to do it in batch. I know it is possible with a task scedular but a lot of batch commands are possible to do in the graphical windows too!This depends on the format of your %date% variable, but this will work for ddd mm/dd/yyyy: Code: [Select]set day=%date:~7,2% if %day% LEQ 31 if %day% GEQ 25 dosomething dosomething is a placeholder for you to, well, do something I don't really undesrstand wath this script would do? Like I think the script would do something if the computer date is 25/31 of the month. But then you have to open the script on that date(s). What my intention was, open the script on a random date, and plan it to open a file on the 25th/31th of the month.. How should you do that?Quote Does someone know how to run a batch file on the 25 till the 31(30) of every month The script posted will only do something if the day of the month is equal or greater than 25 and the day of the month is less than or equal to 31. Both conditions must be true. As mentioned the dosomething is merely a placeholder. Put in your own command. 8-)Yeah, but what I MENT is that the batch file make a task in windows scheduled tasks and that that task would execute a other batch file at the 25fth and the 30th of every month. I have looked up a long time for such thing but every example doesn't work! even the example that DOS gives itself doesn't work AT 23:30 /EVERY:m,t,w,th,f,s,su c:\backups\every_day.cmd even taht one doesn't work Gotcha! I misunderstood and thought you wanted the 25th thru the 31st and that you didn't want to use the scheduler. The problem with the scheduler is that batch and Windows use two very different API's. In the batch world you can use the AT command, and in Windows you can use either the GUI or a Windows Script. In the batch world you can try this: AT 23:30 /EVERY:25,31 c:\backups\monthly.cmd An example of a Windows script can be found at: How Can I Manage Scheduled Tasks Using Scripts? Good luck. 8-) Note: The GUI can see all the jobs on the schedule, the AT utility can only see jobs it actually put on the schedule. PS. I have no idea what will happen if a month does not have a 31st day, but February is right around the CORNER...let us know That worked, tnx. If you want to speed up the progress, you could just adjust your clock i think, to see if it would work in february I think I'll let you handle that part |
|
| 8435. |
Solve : whats wrong?? |
|
Answer» set %xx%=="ECHO hej" |
|
| 8436. |
Solve : Batch file to launch IE and autofill username? |
|
Answer» Hello, |
|
| 8437. |
Solve : more than one command per line in a batchfile?? |
|
Answer» Anybody know if it is possible to run more than one command in a line in a batchfile (instead of making a :label) In some cases, I don't know when but && can also be used. I think you mean the single ampersand symbol &. The double ampersand && has a different meaning. Single AMPERSANDS allow multiple statements on one line Code: [Select]CLS & echo hello world & pause & del temp.txt Is the same as Code: [Select]CLS echo hello world pause del temp.txt double ampersands allow conditional execution. If the code to the LEFT of the && is successful, the code to the RIGHT is executed Code: [Select]tasklist | findstr "Notepad.exe" && echo Notepad is running The opposite to this is a double pipe symbol || If the code to the LEFT of the || is NOT successful, the code to the RIGHT is executed. Code: [Select]tasklist | findstr "Notepad.exe" || echo Notepad is NOT running Yea, thats it. A single & not two would be used in your CASE. |
|
| 8438. |
Solve : Redirect Problem? |
|
Answer» Okay, I came across a really strange problem with a REDIRECT that I can't seem to solve. This appears a very active and knowledge FORUM, so I thought I ask here ... |
|
| 8439. |
Solve : Bat2exe Error: Could I get some help?? |
|
Answer» When Bat2exe is used to make a .com from the .bat, this error message POPS up: |
|
| 8440. |
Solve : Batch file that i can run and paste text from? |
|
Answer» I have tried searching for this but have come up wtih nothing. I have to update tickets at my job with the current date and time like this:: Ticket RECEIVED from company to company at 18 JAN 07 @ 12:15:01. I need to enter this info about 100 times a day and i was wondering if there was a batch file i could run that would allow me to click on it and then go into my program and paste and it would give me the line with the current date and time. does anyone know how i could do this?? Much appreciated.Batch scripts cannot do this, even vbscript wont, a program that can interact with the clipboard is what you need I have tried searching for this but have come up wtih nothing. I have to update tickets at my job with the current date and time like this:: Ticket received from company to company at 18 JAN 07 @ 12:15:01. I need to enter this info about 100 times a day and i was wondering if there was a batch file i could run that would allow me to click on it and then go into my program and paste and it would give me the line with the current date and time. does anyone know how i could do this?? Much appreciated. I could use a batch file and a free utility program to create and write to a text file with the date and time in just about any format, including the one you've asked for. But, like gpl said, I don't know a way to automate getting it into the clipboard. You'd have to open that text file with something like Notepad. Highlight, and click Copy. Then you could paste away. If doing it this way is of any use to me, let me know and I'll show you. Nothing to it. Got it. - A way to do it by clicking on a batch file. It works under Win98SE. You need two free utility programs and a batch file to run them. 1.) Go here: http://www.ferg.org/fdate/ Download Fdate - fdate16a.zip 2.) Go here: http://home.mnet-online.de/horst.muc/wbat32.htm Download ClipText 1.3 - cliptext.zip 3.) Make a unique folder and unzip them both in it. 4. ) Use the following to make a batch file, and put it in that folder too. Code: [Select]@echo off rem Writes output of fdate to text file named datetime.txt rem Example : 19 Jan 07 @ 12:05:54 rem If datetime.txt already exists, it will be overwritten fdate /Ff /C"~~D ~n ~y @ ~H:~U:~S" > datetime.txt rem execute cliptext.exe - have it read datetime.txt to the clipboard cliptext from datetime.txt Name the batch file datetime.bat , or whatever you want. Double click the batch file to run it. Now try pasting. Did it work? Hope so. All I can say is that it worked for me. No guarantees. Edit: There are extensive docs and examples with Fdate. It can do a lot of different things. There are very short docs with Cliptext. It appears to be a very simple program with only a couple options. Well then is there a way that i could have an application that i could just open and it would have a line in there that would generate the current time so that i could just highlight it everything and then go in and paste it into my application. If so, does anyone know the command.Quote Well then is there a way that i could have an application that i could just open and it would have a line in there that would generate the current time so that i could just highlight it everything and then go in and paste it into my application. If so, does anyone know the command. See above. That batch file, running fdate with that command line, will create a file named datetime.txt . In it is one line. Example: 19 Jan 07 @ 14:04:21 You could open datetime.txt with Notepad, hightlight, copy, then paste. But FIRST, you should try using that batch file as written, with cliptext. It worked fine for me. Every time I double clicked the batch file, my clipboard was updated so that I could paste the date and time in the above format.... which is what I thought you wanted to be able to do. Thanks, that worked great. I have one more question. I need to have ticket say: TICKET RECEIVED FROM COMPANY TO COMPANY ON CURRENT DATE @ CURRENT TIME. Let me know if you know where to put that on your code. Anyways thank you very much for that i have been trying to find this for a while. Quote QuoteQuoteWell then is there a way that i could have an application that i could just open and it would have a line in there that would generate the current time so that i could just highlight it everything and then go in and paste it into my application. If so, does anyone know the command. Thanks, that worked great. I have one more question. I need to have ticket say: TICKET RECEIVED FROM COMPANY TO COMPANY ON CURRENT DATE @ CURRENT TIME. Let me know if you know where to put that on your code. Anyways thank you very much for that i have been trying to find this for a while. I'm not 100% sure of what you are asking. You need to rephrase it. In the meantime, if you comment out the fdate line in that batch file, and use: Code: [Select]fdate /Ff /C"~~D ~n ~y @ ~H:~U:~S" /P"TICKET RECEIVED FROM COMPANY O COMPANY ON " > datetime.txt You'll get : TICKET RECEIVED FROM COMPANY TO COMPANY ON 19 Jan 07 @ 15:00:33 when you paste. Just a very newbie to this site, thought I'd though a little addition to your batch problem: At the end of the batch, you can add this line so batch file will open the text file in notepad for you: start notepad datetime.txtAll of this worked great, I thank you all for your help. JuppeQuote All of this worked great, I thank you all for your help. Great! I thought we'd want to work on that "COMPANY TO COMPANY" part next. But if it good the way it is, that's fine too. I went in and edited that part of it and figured it out. i just needed to know how to do the date. JuppeQuote I went in and edited that part of it and figured it out. i just needed to know how to do the date. Great! I was expecting that the "company" part would not be a constant. If those were changing, that you'd need to find a way to easily substitute for them. I'm glad you got it going. I hope it saves you time. |
|
| 8441. |
Solve : Conditional statements? |
|
Answer» I have created a .bat FILE that reads from an excel sheet. In a row, I have “DESK NUMBER” (remote computer, range: 1-30) and in another I have “candidate’s number” range: 1-30. |
|
| 8442. |
Solve : Creating a variable in 16-bit DOS? |
|
Answer» Hello all, |
|
| 8443. |
Solve : NTLDR is compressed? |
|
Answer» I did a system restore on my computer then it came up with a black screen that says "NTLDR is comprssed press alt/cont/del to restart" . So i tried that and it just keeps going back to this same screen. I can get to set up by pressing f1 but i don't know anything about all that, i did try setting it to default but it didn't change anything as far as getting PAST the screen i mentioned. Someone told me that now my computer is basically fried. Can anyone help? Thank you!What version of Windows is this? This problem may occur if the MFT root folder is severely fragmented. If the MFT root folder contains many files, the MFT may BECOME so fragmented that an additional allocation index is created. Because files are mapped alphabetically in the allocation indexes, the NTLDR file may be pushed to the second allocation index. When this occurs, you receive the error message that is described in the "Symptoms" section of this article. This problem is discussed here http://support.microsoft.com/default.aspx?scid=kb;en-us;320397 It is CAUSED by a severely fragmented root folder and Master File Table. It is a known problem that was fixed in XP Service Pack 2 and Windows 2000 Service Pack 4, but it does not fix the problem on existing volumes created with older service pack levels. The MS page says get bcupdate2.exe by contacting Microsoft Support, but you can get it here http://xperiencexp.blogspot.com/2005/11/bcupdate2exe.html Also there are instructions for creating the boot floppy you will need. |
|
| 8444. |
Solve : gw extracter? |
|
Answer» i was TRYING to run a gw unpacker but i get this weird dos message to SHOW up on my screen. i was hoping someone would help. |
|
| 8445. |
Solve : Delete aged files from batch, .bat, file? |
|
Answer» I've done a COUPLE searches in the DOS forum and promise I didn't find exactly the answer. So I apologize if this has been covered. |
|
| 8446. |
Solve : changing computer name through dos? |
|
Answer» I have a couple of labs with xp machines that all have the wrong computer name. does anyone know of a WAY to change the computer name through dos?How To Use the Netdom.exe Utility to Rename a Computer in Windows XP |
|
| 8447. |
Solve : help learning DOS? |
|
Answer» i am new at dos and was wondering were to find a good guide to DOS was? i am new at dos and was wondering were to find a good guide to DOS was? An IDEA: Check out http://www.vfrazee.com/ms-dos/6.22/help/ That is an online version of what we used to get with "help" when running MS-DOS 6.22. That was the last stand alone version of MS-DOS, and you asked about DOS. The commands are hperlinked - click them. You'll see. If you want more - the command line - like available under WinXP, there are links on that page for that too. The trick is - read carefully, then experiment carefully. And don't be afraid to come here with specific questions. You'll have them, as you get into it. |
|
| 8448. |
Solve : Batch file to create backup? |
|
Answer» Hey guys, |
|
| 8449. |
Solve : Logged in Users? |
|
Answer» Any way to view the list of names of the logged in USERS of the local machine through DOS? I know you could do this in the Task Manager and the Users TAB, but j/w if you could do it in DOS. Assume WinXP. ThanksTry using net users from a command prompt. Not to be picky, but WinXP contains no DOS. I've always been curious how that rumor got started. :-? Maybe they should have given the Command Window a blue BACKGROUND...they're GOOD at blue.yeah my bad, dos/command prompt/window with black background and white LETTERS...i haven't seen too much blue lately::knocks on wood net users doesn't return a list of logged in users but it's good enough, thanks... |
|
| 8450. |
Solve : Reading files off a directory? |
|
Answer» I have a script to execute a custom program (an executable) with static filename as a parameter. I need to extend this to ITERATE and execute for all files in any given directory. |
|