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.
| 6251. |
Solve : BIG Question!!!???? |
|
Answer» Is there any way to access to another PC with open port?i mean when 2 pc open some port so 1 guy can access to another[highlight][/highlight] :-? :-? :-? :-? :-? :-? :-? :-? :-? :-?Well what EXACTLY are you trying to accomplish? That is the better question, philosophically and gramatically.i mean: i WANT to access to my second pc with first |
|
| 6252. |
Solve : Changing file date and time stamp? |
|
Answer» On a Windows 95 system I WANT to change a file's date and time stamp (within the DOS command window). It's been a VERY long time since I manipulated files using DOS. I think this can be done, but I can't remember how to do it. Can someone help? On a Windows 95 system I want to change a file's date and time stamp (within the DOS command window). It's been a VERY long time since I manipulated files using DOS. I think this can be done, but I can't remember how to do it. Can someone help? It has been a while for me too. I used to do it with some utility programs. I can't remember any one in particular now, but I did a quick Google and several that SEEM to be the thing are found. Check out: http://david.tribble.com/programs.html Grab chtime.exe . If you execute it with no parameters on the command line, it returns a brief 'help'. Looks like what you want. Give it a try and let us KNOW if that does the job for you. I tested chtime.exe on my XP computer and it seems to work great. I hope to TEST it on the Win95 machine tomorrow. Bottom line, I need to change the date on a data file. The real test will be executing the application to see if changing the data file hoses up everything. Sorry to be so longwinded, but thank you very much for your help today.Quote I tested chtime.exe on my XP computer and it seems to work great. I hope to test it on the Win95 machine tomorrow. Bottom line, I need to change the date on a data file. The real test will be executing the application to see if changing the data file hoses up everything. I'm sure you'll remember to keep a good BACKUP copy of everything. Quote Sorry to be so longwinded, but thank you very much for your help today. I hope it works for you. from somewhere. Code: [Select] @echo off & setlocal enableextensions if [%1]==[] ( echo Usage: %~0 ["FileName"] echo Wildcards allowed goto :EOF ) for %%f in ("%~1") do copy /b /v %%f +,,> nul dir "%~1" endlocal & goto :EOF |
|
| 6253. |
Solve : Problem in using if within for? |
|
Answer» my ck.txt has (note there will be spaces after comma |
|
| 6254. |
Solve : Read Text File? |
|
Answer» Hello, |
|
| 6255. |
Solve : Sorting Files - "dir" Command? |
|
Answer» I'm searching through large shares using DOS command, dir *.XXX /s. |
|
| 6256. |
Solve : How to select files by date in batch? |
|
Answer» For ms-dos |
|
| 6257. |
Solve : Can the "file created" date be changed?? |
|
Answer» Thanks to those who helped me yesterday! What I figured out is I need to change a file created date, not the file last MODIFIED date. The host is running good ol' Win95. |
|
| 6258. |
Solve : call .vbs in a .bat file?? |
|
Answer» Hello, |
|
| 6259. |
Solve : not able to use the "/"? |
|
Answer» Hello there. Hope all had a GREAT CHRISTmas. |
|
| 6260. |
Solve : Problem using substring in string ()DOS? |
|
Answer» Hai ppl, |
|
| 6261. |
Solve : Copying ONLY files from subdirectories? |
|
Answer» Hi fellows, |
|
| 6262. |
Solve : Cool Camera Syncing BAT? |
|
Answer» Hi Everyone! I just recently got a new camera over the holidays, and a 2gig card to go with it! |
|
| 6263. |
Solve : Perform find and count in test file.? |
|
Answer» Hi, |
|
| 6264. |
Solve : ms-dos command? |
|
Answer» I don't know how to end one of these dos commands. Can you help me? |
|
| 6265. |
Solve : Plzzzzzzzz Help Me? |
|
Answer» Hi Every one Do you mean MS DOS, rather than MC Dos? You should know that OS even though your young Calum. It came out before McWindows. At least I McThink it did. [smiley=thumbsup.gif] Lewis Carroll should have coined Mc this and Mc that.Chortle,Chortle,Chortle! Quote Do you mean MS DOS, rather than MC Dos? Yes I mean MS DOS and I did a typing mistake; I did look in google and in the wikipedia before I jumped to the easy button as you said So no one will help me?Sorry,Laughter is good for the soul.I never mean to ridicule a member. Please read the below site. http://en.wikipedia.org/wiki/Multiuser_DOS Below is a noteworthy site. http://www.old-computers.com/museum/computer.asp?st=1&c=1197 After you read and study these two sites come back and ASK some McQuestions.just joking. Quote I did look in google and in the wikipedia before I jumped to the easy button as you said Sure. But you forgot to give us the EXACT url that you visited, and you forgot to direct us to exactly what part of the page there, that you read an didn't understand. Do that, and I'm sure somebody here will try to go over it with you. *Agrees with all of the above* What are you trying to find out? It says in the Wikipedia article about multitasking in DOS. And what do you mean by Quote I want also some information about the CPU, Memory,HD space.What CPU, memory and HD space? Those required for DOS? Or just CPUs etc in general? BTW, Street1 - yet more chortles . . . McWindows . . . I was thinking more MC DOS, like MC Hammer . . . rapping computers . . . LOL!Quote After you read and study these two sites come back and ask some McQuestions.just joking. Sorry to be COMPLETELY offtopic here but omg thats hilarious lol. That word is probably going to be used alot more around these forums haha Quote QuoteAfter you read and study these two sites come back and ask some McQuestions.just joking. Do you really McThink so?Now y'all got me McChortling again. Quote So no one will help me? I think the point the others are trying to make is that no one wants to, or should be expected to do your homework. That is part of how you learn. The other part is being able to explain what you have learned. So do your research, let us know what you have learned and what you are not CLEAR on. Another good site is www.howstuffworks.com |
|
| 6266. |
Solve : Anyone know how to change str to no.? |
|
Answer» OS: XP Professional |
|
| 6267. |
Solve : Help with Variables and DIR? |
|
Answer» Currently I am PLAYING around with some bat files, but when I wanted to create one that starts a program from anywhere on the COMPUTER, I had some difficulty. It was supposed to take user input for a filename and extension, put it in %input%, use dir /s /a /b %input% and the directory found should have gone in a variable CALLED %location%, which the bat file would then switch to, and opening the file. |
|
| 6268. |
Solve : Need help on MKDIR command? |
|
Answer» I all. First of all, thanks in advance for any answers i might have. |
|
| 6269. |
Solve : How can you hide a .bat file? |
|
Answer» I created a easy start up bat file for a EMU, But i DONT want to see it, I would like for it to be hid, |
|
| 6270. |
Solve : Wanting to know if I can solve this through DOS? |
|
Answer» My system will not BOOT up even with the recovery CD because somehow the C drive has been erased. Is there anyway to ressurect it with DOS commands?? All that can be ACCESSED is A:\:> or X:\> - I don't care about losing data, I just want to be able to reformat the C Drive. Let know if there is any hope.... |
|
| 6271. |
Solve : Running executables with arguments? |
|
Answer» Hi there, |
|
| 6272. |
Solve : exiting from ms dos? |
|
Answer» I have a Gatway2000 and operating win xp. How do i GET out of ms DOS. When I start pc with nothing in drives BLACK screen only. I put recovery disk in takes me to ms dos but i don't know what to do from here. Any HELP would be GREAT. thank you. Lakerat |
|
| 6273. |
Solve : "shutdown" command help? |
|
Answer» When trying to shutdown other computers on my network using shutdown -s -m\\computername the reply reads.. The trick is that the remote computer was already on a task schedule to shutdown anywayThis isn't needed, it works perfectly well without. The shutdown command for remote shutdown (-m) works without the // of the computer name. I'm sure you know all the computer names, but if not, use: Code: [Select]net view >C:\comps.txtThis gives you a list of computers that you can use the command on. All computers must be part of the workgroup, or they won't shut down. The (-m) command only supports shutdown (-s) and restart (-r), not logout (-l). An example of this command in action would be Code: [Select]shutdown -m COMP1 -s -f -t "0" Hope this helps. Thanks Jarjee. I was dead wrong. I plead ignorance, but that is not excuse for not doing my homework! I found an item on the MS site that helps with a problem I also have with the remote shutdown command. And I found that the command has been around for years. http://technet2.microsoft.com/WindowsServer/en/library/58ede3d5-c4cc-4532-bf75-997c165961ec1033.mspx |
|
| 6274. |
Solve : Tasklist? |
|
Answer» Hello all, |
|
| 6275. |
Solve : DOS native drivers for IDE ZIP (100) drive? |
|
Answer» Trying to repair my old pc which won't load it's win98. I have made up a boot CD with DRDos 7 which sees my 2 disks and 2 CD drives. But I need the DOS native drivers for the ZIP drive. Where to get them and what commands to place in Autoexec.bat and Config.sys to access the ZIP drive? Trying to repair my old pc which won't load it's win98. I have made up a boot CD with DRDos 7 which sees my 2 disks and 2 CD drives. But I need the DOS native drivers for the ZIP drive. Where to get them ... Check out: http://www.storagedrivers.com/drivers/31/31083.htm http://www.storagedrivers.com/drivers/71/71025.htm http://pw2.netcom.com/~deepone/zipjaz/dos.html http://www.computing.net/dos/wwwboard/forum/14438.html Quote
There are a couple little 'wait' programs out there, that if placed in autoexec.bat would allow you to configure a pause of x seconds. But I'm not sure that is exactly the best way to GO for what you WANT. As far as slowing things down so you can see it: For the bios stuff, try hitting the pause key when whatever you want to review is on the screen. Does that stop the process, until you hit ESC? For config.sys and autoexec.bat, try tapping the F8 key repeatedly as soon as the boot process starts to read from the drive. It should put you in a multiple choice menu. One of the choices is line-by-line confirmation. Another is to create a boot log - that might be handy to review later. Would either of these accomplish what you need? I hope this helps. Thanks all for excellent responses. One problem remains. When I evoke "guest.exe" or "guest.exe = H:" in the autoexec.bat file or from the command line it says it can't assign a drive letter. I do have "lastdrive=Z" in autoexec.bat. What is missing? I forgot to ask how to create a boot log. Thanks Quote Thanks all for excellent responses. One problem remains. When I evoke "guest.exe" or "guest.exe = H:" in the autoexec.bat file or from the command line it says it can't assign a drive letter. I do have "lastdrive=Z" in autoexec.bat. I've got a Zip drive .... somewhere.... that's the problem, I haven't USED it in ages. I remember using guest with it too. But as for the particulars, it has been too long. I'm sorry, I just don't remember the finer points about configuring and using it. You might have to wait for somebody else to come along here and advise you. Or, have you tried various word combinations in Google? You can't be the only one that ever had that happen. Quote I forgot to ask how to create a boot log. ?? Did you try the F8 key? (see above post) What happened when you did? Did you get a menu to choose from? Btw, did the Pause key help for stopping the boot process so you could see what was going on with what bios was seeing? Thanks guys, I tried the PAUSE key and it worked fine. Didn't try the F8 key yet. Quote Thanks guys, I tried the PAUSE key and it worked fine. Didn't try the F8 key yet. Aha. The F8 key is what should get you a menu. As stated PREVIOUSLY, one of the choices will allow you to step through and confirm or deny the loading of each line. Another choice would be to create a new bootlog. I haven't tried this in ages - so you'd have to try it and then look for it. Examine it. See if it holds anything useful to you. Let us all know if it what it held was what you needed. It might help somebody else here someday. |
|
| 6276. |
Solve : OR Command (or similar)? |
|
Answer» Hello hopers, |
|
| 6277. |
Solve : ftp timeout? |
|
Answer» I send every day 2000 different pdf files to a ftp server with dos. |
|
| 6278. |
Solve : get file based on most current date? |
|
Answer» I’m working on something using an FTP command. I’m trying to FTP a file from /SYSRES/SHOPPERS to a network directory….but, I only want the current file. The file has a date/time stamp, but I only care about the date. The most current file is named SHOP010907112030. How can I add to check for the date to my batch script? Tomorrow's file would be SHOP011007HHMMSS. Let me know if you can help….thanks much. I’m working on something using an FTP command. I’m trying to FTP a file from /SYSRES/SHOPPERS to a network directory….but, I only want the current file. The file has a date/time stamp, but I only care about the date. The most current file is named SHOP010907112030. How can I add to check for the date to my batch script? Tomorrow's file would be SHOP011007HHMMSS. Let me know if you can help….thanks much. I have an idea as to how you could get tomorrow's date into an environment variable. Would that help? ... could you work with it then? The time of day part - don't know how to HANDLE that. Sorry. . I don't want to set an environment variable because both of these files are on DIFFERENT servers. I just want to disregard the time part and I want this to be variable so when it runs, it will always get todays file. thanks much.Quote I don't want to set an environment variable because both of these files are on different servers. Can you explain that a bit? Why is the files being on different servers important? Quote I just want to disregard the time part and I want this to be variable so when it runs, it will always get todays file. thanks much. Set today's date in an environment variable then - if you can use it that way. It's always HELPFUL if you mention what version of DOS or Windows you're running as batch language changes often. One way would be to sort the files descending by date and skim off the top one. See Previous Post The other would be to localize the environment variable to the batch file: Code: [Select]setlocal set today=%date:~4,2%%date:~7,2%%date:~12,2% echo %today% endlocal The above snippet is just an example but you can incorporate the setlocal/endlocal in your own batch file. Good luck. 8-) Disclaimer: This will only work on some machines, maybe even yours!Ok...I'm new to this, so bare with me! I'm running windows XP. I still don't understand why/how to set the environment variable to help me. In the example pasted above for sorting and skimming 1 off the top, I tried that and it didn't work...perhaps I missed something? Could you repeat that slowly for the newbie Thanks!Quote In the example pasted above for sorting and skimming 1 off the top, I tried that and it didn't work Not knowing how or what you ran, it's hard to tell what went wrong. The example below will sort all the files beginning with SHOP descending by date. The most recent file will sort first where you can use it in the context of your FTP COMMANDS. (the %%i variable contains the file name) Code: [Select]@echo off for /f %%i in ('dir SHOP*.* /tc /o:d /a-d /b') do ( ftp commands go here goto tag ) :tag The next example is much the same, but uses a local variable containing today's date: (the filename is still in %%i) Code: [Select]@echo off setlocal set today=%date:~4,2%%date:~7,2%%date:~12,2% for /f %%i in ('dir SHOP%today%*.* /tc /o:d /a-d /b') do ( ftp commands go here goto tag ) :tag endlocal You still have to put the appropriate FTP commands where INDICATED. You may also have to include path information based on your environment. 8-) |
|
| 6279. |
Solve : New to DOS Help!? |
|
Answer» I have some very basic questions i HOPE you can help! |
|
| 6280. |
Solve : Please help with this bat file....? |
|
Answer» I am trying to right a batch file to REPLACE a custome game map. I would like to have the bat request 1 of 2 choices...the original file or the modded file. If I run this script: HEY I THINK YOU DIDNT WRITE SUMAT GOOD,I MEAN MOD PLACE,.. WoW is that even English. :-?Quote I am trying to right a batch file to replace a custome game map. I would like to have the bat request 1 of 2 choices...the original file or the modded file. If I run this script: Is your os WinXP? Does that computer have choice.com on it? in the path? (because I'd do it a bit different, and it requires choice.com in the path) You said, "BUt when I place it in the following bat file it does not: " Describe exactly what happens. selkov, I think your problem is that the copy destination is relative path. You might want to make it ABSOLUTE like the source: [edit]copy c:\program_files\microsoft_games\halo\mods\deathisland_238_mod.map [highlight]c:\[/highlight]program_files\microsoft_games\halo\maps\deathisland.map[/edit] DOS IT HELP? Quote HEY I THINK YOU DIDNT WRITE SUMAT GOOD,I MEAN MOD PLACE,.. Welcome back, wangming... |
|
| 6281. |
Solve : Create Driver? |
|
Answer» Hello, Its the exact same one:*sigh* Not quite. It seems line 1 of the original script has gone missing. See reply #4. [highlight]strComputer = "."[/highlight] points to the local machine. Good luck. 8-) Sorry, well it WORS now but its using too much processor Thanks Any Way Al968 |
|
| 6282. |
Solve : call a vbs script? |
|
Answer» Can I call a vbs script from my dos batch file? If so...how? |
|
| 6283. |
Solve : Why Wont This Work?? |
|
Answer» [highlight]@echo off arnt u missing the E im tim or is like that? It is supposed to be like that as ogelami declared it "set /p tim=what time do you want to wake?:".Quote so do you say it is 100% impossible to build an alarm clock in bat? please help Not QUITE and probably EASIER than digging the Panama Canal with a spoon. if "%time% GEQ %tim%:00:00.00 goto x You will have to localize the time format for your area. 8-) |
|
| 6284. |
Solve : Not-Recognized Problem? |
|
Answer» Hello All, |
|
| 6285. |
Solve : for /F command? |
|
Answer» If I use following command : |
|
| 6286. |
Solve : echo list of path(s) of file(s).? |
|
Answer» I want to do a BATCH FILE 'pathof.bat' which ECHOS list of path(s) of file(s). |
|
| 6287. |
Solve : How do I create a popup message box using DOS?? |
|
Answer» I am on a network and would LIKE to somehow use DOS to create a message box that will popup on users MONITORS so that I can COMMUNICATE with them regarding the database we are all using. |
|
| 6288. |
Solve : i hate the stupid sonic wall? |
|
Answer» [size=16][/size]please HELP me get past the stupid sonic wall. |
|
| 6289. |
Solve : Simple Question: How to delete a " ?? |
|
Answer» Anyone can help in this? |
|
| 6290. |
Solve : install from boot disk problem? |
|
Answer» hi newbie here i managed to load winme on pc but when it closes to restart |
|
| 6291. |
Solve : Modify DOS autoexec.bat file? |
|
Answer» :-? |
|
| 6292. |
Solve : File date? |
|
Answer» How can I start a command if a file is older then 2 days or 48 hour? :-? Unless you are prepared to write a boatload of if statements, doing date arithmetic in batch code is not a simple matter. This utility program does simple arithmetic and date arithmetic: http://www.ferg.org/fdate/ It is free. Quote First you'd have to isolate the day value and subtract one. You can imagine the fun if the day value resolves to the first of the month. |
|
| 6293. |
Solve : Batch (or .com) file to count on screen from 1 to? |
|
Answer» Years and years ago I wrote a (I think) batch file that would just START counting from one up to a million or so. Used it as smoke test for new computers I built and to just get ian dea of how fast computer was. Here ya go... 8-) Many thanks, fffreak, that's even easier than the one I recall doing. Just what I needed. I used to be a dosfreak, but that's outdated today. Your welcome, Happy to help 8-) |
|
| 6294. |
Solve : Sonic Wall? |
|
Answer» I need to no how to get into the proxy settings threw dos. at school we have a sonic wall and i no i can get AROUND it threw the proxy servers. i have a proxy server i just need a dos command that will get me into the proxy settings. if you don't KNOW how, a WAY to get PAST the sonic wall would be apprectiated. thanks |
|
| 6295. |
Solve : Simple Batch Script not working.. Can anyone help?? |
|
Answer» I have created a simple batch script that acts as a "hosts file switcher", but it doesn't seem to be working. The code is posted below.. Can anyone please tell me why this isn't working? This is very frustrating! |
|
| 6296. |
Solve : Shutdown a computer over LAN? |
|
Answer» Hello, I under if it's possible too shut down a computer by LAN? |
|
| 6297. |
Solve : Mount network drive? |
|
Answer» Hello all, |
|
| 6298. |
Solve : Spaces in the file path? |
|
Answer» i have a BATCH file that opens a file and WORKS fine how ever if i try it with a file path that has spaces it doesnt like it. Is there a way around this without changing the file path?Hi JTWork, |
|
| 6299. |
Solve : I'm so pretty.? |
|
Answer» I made a boot diskette floppy. when I USED it, almost all the COMMANDS won't work. the only one works is MD. any fine gentleman knows why? that is cool. how can it made the word > f*k? do they use DOS?Calling us a**holes doesn't exactly encourage us to help you and your second post makes no sense at all. |
|
| 6300. |
Solve : Hey quick question hope the answer is quick but I will take all? |
|
Answer» Hi I have an old laptop with windows 95 I screwed up and renamed a folder now the farthest I can go is the comand prompt after pressing F8 then selecting comand prompt ......... C:\> At the prompt try typing CD\Windows and hit Enter...then type Win and hit Enter. And; Quote from: Dusty on March 23, 2008, 12:31:29 AM Run a directory listing to find the name(s). The first results in the same MESSAGE I get when I try to start up normally; "While initializing device IOS: Error: An I/O subsystem driver failed to load. Either a file in the .\iosubsys subdirectory is corrupt, or the system is low on memory." The second results in me guessing I have used all of my luck somewhere because I could not figure out which folder it was, although I do spend what little free time I can looking. Thanks for the help if you know what I might try next please let me know and I will get on it. As for finding the folder as soon as I figure out which one I have renamed I will post it. Also I am starting to wonder if it was a file I renamed and not a folder. Is there a WAY to use the command prompt to rename files or folders that is easy to explain or will I just need to post when I find and hope for the best. Thanks againOkay I am trying to use the find command to find the files or folder I renamed, but I am having alot of trouble doing this. THINGS I have learned so far include; It is most likely in c:\WINDOWS\SYSTEM Small possibility it is a folder MUI which contains other folders named numbers. It must be the folder iosubsys but I can not find what I named it to I would think if I was going to rename something I would make it easy to find by just adding a number or LETTER to the BEGGINING or end but must not be unless the system deleted it or something.I have been able to find boot disks but if I try to do the windows/win to boot it almost works then I get the same message. I am just going to start a new thread int he Microsoft section and reinstall win 95 I just wanted to say thank you to everyone that helped and if you have an idea of what todo next please look for my new post. thanks again |
|