The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
3answers
3k views

Copy windows shared file from cmd

Is there a downloading tool that supports Windows Shared files and works from command line? Standard copy is getting hanged with no action on my side. Tried wget but seems it doesn't 'eat' the link.
1
vote
2answers
2k views

Specify Source IP for iSCSI initiator on Windows 2008/2008R2 using iscsicli

I have two NIC's that have access to my iSCSI network. I want to specify the initiator IP as well as the Target portal IP and create redundant links and use MPIO. This is easily done using the ...
1
vote
3answers
857 views

Better editing and copy paste abilities for cmd.exe/windows console

Is there any interface that'll make cmd.exe (or for that matter any "console" application) more friendly ? I'm thinking easier copy/paste abilities and more powerful command editing , more like a ...
3
votes
3answers
610 views

How are “locked” files handled by the system (i.e. WinXP)?

How exactly are locked files handled by the os ? Or to be precise, why is it that sometimes I cannot delete a locked file from a Windows Explorer, but if I open a command prompt in the directory in ...
0
votes
1answer
112 views

How to customize Pipes in Windows?

I'm console application and want to save the output to a text file. So I do this: Pi.exe > Pi.txt Then open the text file and see this: Calculating Pi to 10,000 decimal places... Then I se Pi ...
7
votes
7answers
5k views

How to remove 'Administrator:' from the command promt title

In Windows Vista, is there a way to remove the word 'Administrator:' from the title of a command prompt window? The 'title' command just updates the part after 'Administrator:', so that will not do.
2
votes
4answers
16k views

Unlock AD User Account using DSMOD (command line)

Just a quick question. I need to be able to unlock user accounts from the command line, NOT using NET USER loginname /DOMAIN /ACTIVE:YES This is because our corporation lives across 4 domains, and ...
1
vote
2answers
987 views

Profile backup script for XP migrate to Vista

I have a .cmd i use to copy our users local files when they change computer. This works very well in XP/2000 but now i can see that we (large enterprise) are moving to Vista. And was wondering if the ...
2
votes
3answers
3k views

Win7 command processor (CMD.EXE) really slow

Does it seem to anyone else that the Windows 7 command processor (CMD.EXE) is really slow starting up? I ran this test from a command line (ntimer is a timing utility from the Windows server resource ...
6
votes
2answers
3k views

How to launch a new cmd window from an existing cmd window?

Simply typing "cmd" keeps it in the same window. I'd also like to do "cmd /c command" and have it run in a separate window.
19
votes
7answers
57k views

How do I restart a Windows service from a script?

I have a batch script that looks like: sc stop myservice sc start myservice it errors out because sc doesn't wait till the service is stopped. How do I restart a service with a script?
0
votes
4answers
665 views

How to get coloured file listing in windows cmd shell?

A few older ones in here will probably remember a cute little proggie from DOS days, hdir it was called. Did nothing special, except show the file and directory listing in colour. (there were others ...
11
votes
5answers
3k views

What's the difference between .cmd and .bat files?

Just curious. "Cool" people in our company always use *.cmd while no one was able to explain the difference to me.
6
votes
4answers
10k views

Current date in the file name

I have scheduled backup script that makes the database dump. How can I add the date timestamp to the file name? I am talking about Windows and CMD.
2
votes
5answers
472 views

windows cmd shell environments

I use it regularly (cmd), but let's be frank, its environment sucks. No tabs, resizing the window is a pain, ... and so on. Console2 and PowerCmd fix some of these problems. But still, I'd love to ...
75
votes
8answers
113k views

Run a .bat file in a scheduled task without a window

I have a scheduled task that starts a batch script that runs robocopy every hour. Every time it runs a window pops up on the desktop with robocopy's output, which I don't really want to see. I ...
5
votes
4answers
4k views

Correct technique to find application in 32 and 64 bit versions of Vista/Windows 7 from CMD.EXE

BACKGROUND I have an existing CMD script that works fine. It launches an app from PROGRAM FILES like so "%PROGRAMFILES%\MyApp\app.exe" PROBLEM it works fine on 32-bit versions of Windows (Vista, ...