I'm trying to write a request to COM2 and capture the answer. My device is 19200 baud 8/1 non parity.Using a freeware terminal called termite I can send the hex instruction and receive the answer, as verified in HHD serial monitor.My batch file looks like this: Code: MODE COM2: baud=19200 parity=N data=8 stop=1 to=offTYPE request.txt>COM2COPY COM2 text.txt where request.txt contains my request.HHD sees the request being written, but the device does not respond.
I do a lot of internet troubleshooting and would like to put a simple batch file in customers computers that will let me see their DNS numbers when they are using a router.I currently do this from a command prompt for Comas.
i just installed a new premium theme called hud apocalypse. i love the theme except it kinda erased my shutdown/restart/logoff/switchuser default from the start menu.I was able to write a batch file to shutdown. this is the code in the batch file c:windowssystem32shutdown -s -f -t 000..i've done a lot of google searches and alot of them say to restart via batch file and the command is Shutdown -r but this just shutsdown the computer and doesn't reboot.
Was infected by the matsnu1 virus recently which encrypes and locks all your data files. Got all my files back by running matsnu1decryp.exe You need an original clean file before the virus struck for it to work out how to decrypt all your other files does does save the day. Down side is that you end up with two files. The the original and a locked version. You can just go through your hard drive and delete the locked files but I have a 1TB disk with thousands of files and folders.
Since all the locked files begin with "locked" I was wondering about some sort of batch file that would do this for all folders and sub folders. I am sure I remember doing this stuff years ago with DOS but don't remember enough to try it. Any DOS command for this or some other way of quickly deleting many files which have part of the name which is common to all files. They all have different extensions so cannot use that option. My drive is H:
I am trying to create a batch file that runs 3 other batch files. Right now, it works fine using the call command on each other batch file. However, these other batch files take awhile to run. and so the entire process takes a very long time, since each "sub" batch file is run only after the previous one is finished.I was wondering if there is a command or way to start a batch file fro the top-level batch file, then go on and start the next batch file before the previous one is finished. In other words, I want the sub batch files to run in parallel in the background. (similar to the '&' in Unix).
What's the best type of DVD to use for read-only and read/write applications? I'm a little out-of-date on this, haven't bought any in awhile. I remember things like DVD-R/RW and DVD+RW and such. I have a new machine running Win7, and an older laptop running XP.
I need to read several .txt files and search them for a specific string, lets say "key1" and "key2." If the file has key1, then it needs to be moved into directory1. If the file has key2, then it needs to be moved to directory2. There's no telling ahead of time what line the string is going to be on, so I'm guessing I could use "Find" to search for the key? Then how do I loop through all the files, read them, then sort them into the different directories?
How to create a batch file that will move files based on the file type?My Requirement : I need a batch file to copy all .doc files in all my HardDisk to aremovable disk say (Z: drive) . Can anyone make it possible using a batch file
I can't read or write discs. I'm using Windows Media Player to burn some music to a CD and it gets to 30% on the second track and the disc stops spinning and I get an error saying the drive is busy. I can erase the discs, but I can't burn them or read them.
There is as far as I can see, no errors on the disc drive itself.
OK so since I have installed a fresh copy of Windows 7 on this computer ( it is the first operating system installed on it) I can not write any DVDs .A strange fact is that I can write and read CDs and also read DVDs, but not every time.I got an original CD Album and it's still not recognized by the PC for example, and this happens to many audio CDs.I tried many registry tricks and stuff like that but in vain.The computer is new, bought it one month ago. DVD+RW - Sony Optiaric AD-7260SI also tired to resolve the problem with FixIt but it was also useless.I kept getting the message: "The disc in drive [E:] is not detected, or is not supported"
Have 4 HDDs mounted in case. 3 of them are fine. The WDC W20EADS tests at an average write speed of 1MB/s, read is 80MB/s. Every now and then it comes right and the write speed is also around 80MB/s.
I have 4gb and 16gb kingston DT 101 usb....both had slow read & write speeds on fat32(defulat format)..
-write speed 4-6mb/sec
-read speed 25mb/sec appx
When i format it to NTFS, it writes initially at 100mb/s and then suddenly slows down to appx 15-20mb/s... and sometimes it gets stuck somwhere in the middle or on 99% and when i cancel it it start cancelling but doesnt end up, and end ups by removing usb or by logging off... when i copy from usb to harddisk in ntfs format, its working f9...
(I have dell inspiron n5520 core i5, 4gb ram, with win 7 ultimate 64bit... my laptop has usb 3.0 ports (all 4 ports).... i have updated drivers and windows... i have also set my usb to better performance from device manager... there is no problem sign in device manager)
When attempting to write to any USB drive I have connected (including a 1GB USB key and a 1TB Eagle Consus S-ATA Raid0) I initially see the transfer going very quickly as Windows 7 caches the transfer. The speed initially goes to 60MB/s and then the bar stops moving. If I wait, the transfer never completes with a 1GB test file.
I cannot cancel the transfer, since it says Cancelling but never completes. Only a reboot or disconnecting my drive stops the transfer process. While attempting to transfer, any attempt to read from the drive stalls as well.
Read speed is normal. I can access files on the drive, and copy from the USB -> Windows 7 at full speed.
Here are the things I have done to fix the problem:
1) Set the drive to Performance Mode to enable write caching. 2) Uninstalled and re-installed the USB Root Controller and Intel USB Controller devices. 3) Upgraded to the latest Intel Device Drivers. 4) Ensured that my USB ports are 2.0, and that I am connected to the rear powered USB outlets. 5) Installed the Windows 7 hotfix intended for NVIDIA chipsets with 4GB RAM (does not apply to me, but tried anyways). 6) Tried formatting in 16K block sizes instead of 4K or 8K.
When I connect either USB device to my Macbook Pro, with NTFS drivers installed, my read and write speed are normal. For that reason, I know that the problem is not with my USB drives.
Tonite I will try an Ubuntu live CD to see if I can get full speed write with the exact same hardware that Windows 7 is using, to rule out that this is somehow a hardware issue.
I have recently installed 7 and made my Vista partition visible. However, I am unable to write to the partition. Ex) I am able to view a text file on the Vista partition while running 7, but I am not able to modify the text file. Etc with other files. Does anyone have a solution to this?
I have 2 drives (connected one at a time to try and sort this issue) SONY AD-7260S and a LITE-ON
Now from upgarding to XP to 7 I had no issues until now... When inserting Disc (Blank or Data Files) the DVD Drive will hang and not ask what to do with the Disk and when I try to Burn the disc it will say cannot write to drive or just sit there doing nothing
Both these drives worked flawlessly with XP and only way to get the drive to recognise half the time with Windows 7 is to restart PC to either get it to show in Device Manager or press eject when booting to get the disk inside out.
Both drives are Sata and are only a few months old (not burned much and work exceeelnet on another xp machine)
How can I reorganize / read / write / move / unlock and basically do whatever the heck I want with my files and folders in Win7? It is my computer, I am the only user, and yet when I create a folder, the stupid Windows locks it and won't let me save stuff in the folder, or access stuff in the folder, etc, etc. What do I have to do to get back control of my computer?
i'm having this problem lately with my burner it won't write, but when I burn a cd it burns fine. its a (tsstcorp cddvdw ts-L633c) i tried using cyberlink its burn for a while but after verifiying it...it fails and pop-out the dvd and there's no burn mark on the dvd. i also tried using this software nero and magiciso same problem it ejects the dvd. I also tried using different dvd, dvd-r and dvd+r nothings change same problem occurs... i tried uninstalling,update, delete the upper, burn it with the lowest speed, still it won't burn. i'm using window 7 home basic.
Can someone show what a batch file would look like for use in Win7?Secondly the method for writing same batch file please.I want copy a file or files to the desktop before shutting down or rebooting and secondly copy same file/files to their original location after booting.
How could I run a batch file as an administrator without any user involvement. I just want when the file is clicked on to start running as an admin because it is copying files in the Programs directory and cannot do it without administrator privileges.
I have this... runas /noprofile /useran-SlateDan cmd but that requires me to have to type my password, and also just opens up a new shell and does not actually elevate the shell that it ran in.
To cut a long story short, I decided to try out a demo for a games which is coming out, and a friend gave me the file (it's a FREE demo mind you) and I didn't really like the game so I want to uninstall. How do I go about that?When I installed the game at first, it installed via one of those command prompt boxes.
I have many videos and music that needs renaming often but i'm wary of 3rd party apps. I use to use rename-it! back when i had vista and xp but it hasn't been updated for Windows 7
I've made a batch file, but i don't know how to make it to always run as administartor. In .bat's file properties the option "always run as administartor" is grayed out. I have to right click it and then choose "run as administartor" from context menu. But i don't want to do it every time because it's annoying, is there any way to make run as admin if option is grayed out in properties?
I have 2 files that are in the same directory which I want to start one after the other.I have created a simple batch file like this which opens 2 files at the same time. ExampleStart Server.exeStart Game.exeIs it possible to leave say a 10 second gap between opening the Server.exe and Game.exe? Also is it possible to quit Server.exe when I exit Game.exe?