Batch Files / Change The Date Last Modified Through Command Line
Aug 17, 2008
I am wondering if there is a way to change the date last modified through command line. The reason for this is because I want to update the date last modifed as part of a backup solution.
one of our clients computers has "SOMEHOW" joined a domain and is no longer able to log in localy. He is unable to log in the gui in safemode but can get safemode command line. Is there a command that he can run to set him back into a work group? I say he has a virus but his computer is 350 miles away and Im not able to see it locally.
Every time I need to compile a program I have to open command line, change directory, and set the path. Is there a way to automate this, so that every time I open the command line, some commands are automatically executed?
If I'm on computer Jack but I want to inititate a batch file I want to run on computer Jill, how do I get the batch file? I'm not talking about a remote desktop or anything, I want to use a command line to make a batch file run on a remote computer.
I have Windows XP SP2 and all the updates. I have recently been fooling around with Batch files. I have been having problems with them not running the command. What happens is I will have a correct command set up in the batch file but when i run it a cmd window opens and the command it is supposed to run continously repeats the command over and over. The command function never actually initiats anything.nothing ever runs from the batch file command. It will just keep repeating for ever and ever untill i close it. Now here is the thing. If i rename the batch file or move it from where i was editing it to another folder it will run just fine. But see the issue is. I dont want have to rename it or move it. I want it to just run like it is supposed to.
I've got a very specific task in mind: I'm creating a CD full of mp3's which will play on my portable cd player. BUT: for it to 'see' the mp3s, all the file names have to be preceded by 3 digit track numbers, i.e. 001, 002, NOT 1, 2, or 01, 02.
Rather than re-label 'em all by hand, I'd like to use the rename utility. The only problem is that the rename utility doesn't 'add' the zeroes in front, it 'overlays' the zeroes over the existing label, so I get a bunch of files all numbered '00'.
I'm using a small apache server on a local network for a wiki, and I integrate php functions mixed with windows system calls as well. I'd like to be able to output to a .txt file a search result of *.something on all the available network machines.
I can do the search with the exploer 'Find' function, although its speed is ridiculously slow. However, I can't seem to be able to find an equivalent function in DOS. (DIR is only applicable on one's own machine
My pc is running Windows XP Home SP1, and in an attempt to clean out the tenga virus I used AVG Free Edition. I clicked 'heal' when it ran across instances of the virus in my exe files, but it seems to have deleted a few things. In the middle of the session Windows logged off and required me to enter my password for my user account (it doesn't have a pw) and would log off every time I tried to log on
Just built up a new computer. Installed Windows XP Home SP3. Installed fine but couldn't get online. Found out I needed to install the drivers from the motherboard install disk. It installs the drivers but then it has to reboot to finish. When it reboots it goes to a command line promt to make a raid disk. Problem is that I don't have a floppy disk drive in the computer. (Come on, I didn't think ppl even used em anymore.) If I try to take the CD out and run windows, It gets to the XP load up screen then restarts. Unless I run it in safe mode. My question is this:Is there a command i can use in that prompt to save the Raid Disk info to another drive or port. Like a USB port or External Floppy Drive?
I received a Fujitsu Amilo, 80GB notepad running WinXP.
I'm trying to partition the disc into 4v20GB drives. NOw I have tried to use the Windows Doc Management facility - it does not work! You know, when you right click on the Primary partion (there is one only partition shown - 79GB) but, previously with previous computers, when you right click, the sub-menu that appears has a 'make new partition' selection. With this computer, when I right click, that selection is greyed out and unavailable. Now I must explain that the suppliers of this computer did not supply the original Windows didk but rather what they call a 'Recovery disk' What I assume is that this 'Recovery' disk does not supply the partitioning facility.
i need to check my IP from a command line behind a router. I know there are several ways to gain your IP from online but in this situation it realy needs to be only from command line. anyone know any .exe's or commands that would allow this
I have two Windows XP one Home, one Professional machines attempting to connect wirelessly to a vanilla Netgear access point. The XP Pro machine connects fine. The XP Home machine sees the Wi-Fi network, connects, accepts the password, and says it's connected -- but Web browsers and other Windows network apps will not connect to the Internet (they just hang for a long time before timing out).But If I open a command prompt, I can ping external sites and even use command-line ftp to connect to sites without a problem.I've gone over the network configuration of both machines and can't see any difference between the two. The Netgear access point doesn't have any kind of MAC address filtering turned on. Is there something I should be looking for that I'm missing? As an extra added strange data point I've tried to connect to the network via a Mac OS X machine and saw the same behavior as on the XP Home machine GUI-based programs won't connect, but command-line utilities will. Meanwhile, an Apple iPhone was able to connect and work perfectly.
I have Fedora Core 6 and use KDE.Is there a way to see permissions by using the command line, so you can see the results of a "chmod" command? I know you can see permissions by right clicking the file in Konqueror.
I'd like to send a command to a program installed on my XP machine. I already have the command: /cursor='no'but I'm not sure how to structure the complete command line to the appropriate program. Could someone give me an example of a command directed to a program installed in C:Program files?
I need to pass a filename as an argument to an executable file. The filename may have a space in it, and the executable filename has a space in it. For instance:
I'm trying to find the command (to which I can create a shortcut) to minimize all windows (Windows Key + M) and restore all windows (Windows Key + Shift + M) in Windows XP.
I'm aware that there is a Show Desktop shortcut, but that's not what I'm after.
When I try to run ANY command-line tool at the Command Prompt I'm getting this error message :" 'Ipconfig /all' is not recognized as an internal or external command, operable program or batch file."The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS I can't find the reason of that.
I am running tracert and other commands from the command line but the window keeps closing as soon as the task is completed. I want to capture some info to send to my ISP but don't get the chance. Running Win XP on a Compaq Presario - loads of disk space, memory and processor capacity. It worked fine until a couple of days ago but I haven't changed anything.
Is it possible to put run command-line window on my taskbar?? I know how to put shortcut on taskbar and also know that winkey+R opens it. but i want the exact run window in which i can directly type something (like the way address bar is integrated in taskbar). any help would be good. thanks in advance.