0
votes
1answer
33 views

DIR /B /O:N > filename.txt but only showing folders without a certain file

Im trying to make a list in xp of folders which do not contain a ".jpg" file. I use this (DIR /B /O:N > filename.txt) for making a folder list, it works perfect, but now i need a list with the where ...
1
vote
1answer
24 views

What does WindowsXP SetMonTime.exe command do?

I noticed on my Windows XP SP3 workstation a command runs at startup as follows: C:\WINDOWS\system32\SetMonTime 600 I searched on the net and there is absolutely no reference to what it is and what ...
0
votes
1answer
31 views

Command line: Copy files listed with DIR /S to another folder

I'm trying to list all macro enabled files in my D: and copy them to a "newfolder" I created in the same drive, this is what I've tried and the error message: D:\>copy dir \*.xlsm/S newfolder\ The ...
0
votes
1answer
25 views

Error while using copy command to copy files in subfolders

I'm using the folliwing command to copy all files of the same extension from a folder and all its subfolders to a new destination: for /R "f:\" %f in (\*.mp3) do copy %f "C:\Documents and ...
1
vote
1answer
249 views

Windows XP - How do use grep to find strings in files in subdirectories

I once had a version of grep on my PC (I think it came with an early version of Delphi) which supported searching in nested folders with the -r switch. Now something (I suspect a later version of ...
0
votes
1answer
419 views

Unable to execute command or shell on remote system: Failed to Execute process

On my Ubuntu virtual machine, I run: ssh windowsxp@10.0.0.2 'dir' When I tape the password, I get this error: Unable to execute command or shell on remote system: Failed to Execute process. Why ...
1
vote
1answer
169 views

Install a driver in Windows (XP) from command line? [duplicate]

How can I install and uninstall a driver from the command line during a console session? I have the driver.sys and the driver.inf file, and I want to: install the driver use the device managed by ...
1
vote
0answers
25 views

How to bind a command line to a user logging out in XP?

I have access to a central kiosk at work (windows XP). I installed Dropbox on the computer, but it hangs and must be force closed whenever a user logs out or I try to shut the system down. Since I ...
-1
votes
2answers
50 views

Variable not being read correctly

@echo off setlocal enableextensions enabledelayedexpansion set MYFILE=D:\Working Dir\Home Usage Working\patch me.txt FOR /F "tokens=1,2,3 skip=2" %%A in (!MYFILE!) do ( Echo %%A Echo %%B Echo %%C ) ...
0
votes
1answer
411 views

Where does Windows XP store wlan profiles and how to show/delete them?

I'm running Windows XP on a computer I do not hold (full) admin rights to. I've been trying to figure out where to find and delete a specific wireless network profile using the command line. Using ...
-1
votes
1answer
551 views

“CACLS” is not recognized as an internal or external command, operable program or batch file

I have been using CACLS batch file many times and today it is not recognized. CACLS.EXE exist in C:\Windows\System32 and I have tried writing at command prompt: CACLS * /E /T /C /G Administrators:F ...
0
votes
0answers
50 views

Widen windows explorer tree view via script or command-line

Is there any way to open windows explorer (win7 or xp) via script or command-line switches in which we could widen tree area before showing the explorer?
0
votes
0answers
21 views

How do I set up selenium alias for command line in windowsXP/7

I am sorry if this has been asked before or is too obvious, please point me in the correct direction. I am using WAMP server, and trying to setup PHPUnit+Selenium. I downloaded selenium server and ...
2
votes
2answers
706 views

recursive compare directoreis content by cmd windows xp to output file

I wish to compare two directories and subdirectories files recursively, without additional instalation in windows xp. the tree of the folders and files name is same, but files's contents may be ...
0
votes
2answers
3k views

How to set/use an empty string value in a variable in Windows XP CMD.EXE command-line?

Using SET to set an empty value to a variable works nicely in a Windows XP .CMD script. However, the same SET command behaves differently in the same CMD interpreter when used directly from ...
1
vote
1answer
24 views

Running some XP patches via command line using /quiet keeps update in memory

Whenever I run some XP patches using /quiet option they remain in memory forever. If I use /passive it works. If I don't use any switches it works.
1
vote
1answer
60 views

How to pop up “Console Windows Properties” WITHOUT “Right-clicking the title bar”?

I want to pop up the "Console Windows Properties" without right-clicking the title bar → Defaults (not Properties) My customer"s" just keep complaining to me about how to change the "Console ...
2
votes
1answer
145 views

Unbalanced Parenthesis in a for loop in batch

@echo off FOR /l %%A in (0,1,30) do ( set /a results=1600 + !RANDOM! %% (1900 - 1600 + 1)echo %%A--!results! ) When I run this I keep getting error "Unbalanced parenthesis" in windows xp and when I ...
0
votes
1answer
87 views

%RANDOM% environment variable is giving a single number [duplicate]

I’m having trouble with the %RANDOM% environment variable in the following command: FOR /l %%A in (0,1,30) do set /a results=1600 + %RANDOM% %% (1900 - 1600 + 1) && echo %%A--!results! I ...
1
vote
1answer
508 views

Reconfiguring, then deleting obsolete pagefile.sys from C: in one go using a batch script

I'm trying to set up an automated script for a Windows XP installer. It's a batch script that runs on first boot after installation, and among the things I'm trying to accomplish, is removing the ...
1
vote
3answers
578 views

Disable disk caching in Windows XP using the command line?

I've often wanted to create a really lean and optimized installation of Windows XP to use with VMware, disabling everything that's useless for the use case. I've used quite a few days with nLite and ...
1
vote
1answer
116 views

Save and use handle to application console output

I have a server (Bukkit server, written in Java) and I'm runing it on remote Windows XP machine. I'd use this to launch the server: start start_bukkit.bat This will create new instance of command ...
0
votes
0answers
69 views

Instal SSH server using command line commands

There is a windows server with running HTTP and FTP server. I have access to command line because I've ran HTTP server under administrator account, however it's much more comfortable to run the ...
3
votes
2answers
276 views

Windows 7 cmd.exe “text mode” with Alt+Enter?

In XP, I can go to text mode in cmd.exe with alt+enter. This is when it goes full screen (no windows, no graphics - it uploads a raster font to the hardware). No longer works in Windows 7. What ...
-2
votes
2answers
430 views

How to open more than two word txt file in cmd

I have a text file "English word.txt" in local disk D. I tried to open this file using following command in command prompt in Windows xp D:>English word.txt but it didn't work and following message ...
1
vote
0answers
25 views

Deleting *.htm files also deleted *.html files [duplicate]

What is going on here?? Bunch of *.html and *.htm files in my directory, I do a del *.htm and after that the *.html files are also gone: I noticed it happening in Total Commander when I typed the ...
1
vote
1answer
2k views

Why do not all computers show up on net view?

I have a wired LAN network with some networking issues. In dealing with them, I have used net view in Command Prompt to try to see all of the computers on the network. There are four computers on the ...
0
votes
1answer
120 views

Move only certain files with cmd

I have many files, e.g. 1000, with different names that I have a list of. If I want to move certain files (suppose 400) to any directory, how can I do this? The problem is the files have no ...
0
votes
2answers
212 views

How to start applications automatically when Windows starts with a time window

I would like to ask if there is any way of starting applications automatically when windows XP boots up, but approximately 1 minute after each other. THe problem we are encountering is that we use ...
1
vote
0answers
110 views

Pylint on Windows XP and Cygwin

Having recently upgraded my Python installation from 2.4 to 2.7 (ActiveState), I can no longer get pylint to work in either Cygwin: $ pylint C:\Python27\Python.exe: can't open file ...
1
vote
1answer
343 views

Can't execute file with CMD under Windows XP

I'm currently trying to run a file located at C:\Chocolatey\lib\ScriptCs.0.5.1\tools\scriptcs\scriptcs.exe Originally I tried popping up a CMD and running the command scripts as it should already be ...
0
votes
1answer
335 views

Printing text files with 320 columns per line from Windows XP via IE or notepad

I am trying to print plain text files which are just formatted reports. The reports are standardized at 320 characters per line. They are printed on A3 paper in landscape. We use a Tally MT691 ...
1
vote
2answers
566 views

Configure conemu with Visual Studio command prompt variables

I have searched and searched and got nothing. Please let me know how can I use conemu as a Visual Studio command prompt replacement. I mean how can I add the variable in the vcvarsall.bat to a conemu ...
2
votes
2answers
696 views

Command line PAUSE function not working

I'm experienceing a problem with a batch file command - when I run the program, I have a "PAUSE" command at the end of the batch file, however, the command window still automatically closes instantly, ...
1
vote
1answer
829 views

switching monitors from the cmdline in Windows XP

Windows 7 and above has this useful "displayswitch.exe" tool which can be invoked with the Win+P shortcut. I'm trying to replicate this feature in my old Windows XP installation using Clavier+ and a ...
0
votes
1answer
55 views

Is there a windows app that allows you to save and reopen multiple CMD(command line prompt)

Is there a windows app that allows you to save and reopen multiple CMD(command line prompt)including where it was saved? For example, CMD1 -> c:\ CMD2 -> c:\folder2 CMD3 -> ...
4
votes
3answers
12k views

Disable internet access but leave LAN working

I'm looking for a command (or command line program) to toggle (disable/enable) internet access to the outside world in Windows XP machines. It should temporarily block internet access but leave the ...
0
votes
2answers
340 views

How to get the values of Sent and Received LAN data?

Is there any command that shows me the amount of data sent and received, same as Sent and Received data for my LAN connection (picture bellow)? I need to pipe this info into a file for further use. ...
0
votes
1answer
547 views

Script to move files created before a certain date to another network location

Ok, this is a simple question I am sure but I'm a novice when it comes to batch scripting and programming so I hope I can find the answers I seek here. Machine Specifications OS - Windows Server ...
0
votes
2answers
336 views

Scheduled tasks don't execute when initiated sleep from command line

I have the problem that scheduled tasks will only cause the pc to weak up from sleep, if the PC has been put to sleep with the GUI manually. However if I use the command line to suspend the computer ...
3
votes
2answers
878 views

Run an exe and close the command prompt

"subfolder\program to run.exe" works but keeps the command prompt open. I would like the command prompt to close but keep the application open, how do I do this.
2
votes
1answer
449 views

Set horizontal/vertical taskbar edge position from command line?

Is there a way to set which edge the taskbar is laid out on (either horizontally or vertically to the top, bottom, left and right borders of the screen) via the command line? Workarounds (like ...
0
votes
0answers
55 views

what parameters are needed to join 2 or more urls inside a bookmark in firefox? FF19

this: Create a desktop shortcut for a group of bookmarked tabs in Firefox? @echo off start "superuser" "www.superuser.com" start "google" "www.google.com" Add more "start" lines as appropriate. Save ...
0
votes
2answers
1k views

Why is my “cd” command ignored in the windows XP command prompt? [duplicate]

I'm trying to set a default path in the windows command prompt but my CD command seems to be ignored. I'm not getting any error/warning either. What am I doing wrong? The contents of the prompt -after ...
6
votes
2answers
2k views

Open file with default application from command line

On Windows XP, how does one open a file with its default application from the command line? As far as I know, this should work from a command prompt or batch file: start "path to my file" ...
0
votes
3answers
82 views

Why do I get this error when I specify a path in the windows command prompt?

I'm trying to use the cd command in order to point to the folder where my file is located but I keep getting SyntaxError: invalid syntax (see screenshot). Could anyone please point out what I'm ...
1
vote
1answer
845 views

Winows XP/7 copy command line involving junction

I have a batch script which needs to work with Windows XP (for some time being) and Windows 7. The script also copies a link to the Windows Desktop. copy /Y path\to\the\link.lnk ...
1
vote
2answers
379 views

Unable to copy/paste text in cmd.exe without splits [closed]

I need to copy/cut and paste the following verbatim in cmd.exe: <<<< Identifier Token Start >>>> 853A7223817D29062140F28C8C4E1439 ...
1
vote
1answer
250 views

Issues with mv on windows xp bash shell

As I'm pretty used to the Linux terminal, I set up a bash shell on my Windows XP command prompt by following the instructions in this article: ...
1
vote
1answer
439 views

Run batch file with custom drive mappings

I want to create a "mini virtual environment" to run a program. The only difference between my normal environment and the virtual one would be the drive mappings. I have an X: drive mapped to ...