Computer Support Forum

Hide program command line / prompt / Window / Command line argument?

Question: Hide program command line / prompt / Window / Command line argument?

I want to hide this. I'm running a python progam (if that matters) and it always has that open on my taskbar. I want to hide it. I don't care where it goes or how much time it takes, I just want to hide it. So I never have to deal with it. Maybe make it a system process or something? I don't know.

More replies
Relevance 100%
Preferred Solution: Hide program command line / prompt / Window / Command line argument?

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

Relevance 112.23%

Operating system XP

This has been a strange error to track down, it started when a few programs would no longer run (outlook, open office, etc..) They would all suggest that a command line argument was incorrect. No matter how the program was run (shortcut, directly, run program box) it would still fail.

I ended up throwing a few lines of VB code together to display any command line arguments that may be passed to it; when I run my program I see it is sent a single quote "

This is the same if i double click the file in explorer or type the program name in the run box.

Every single program that is opened is passed a single quote as a command line argument!!! Same in safe mode, even tried a system restore to a date before this problem with no luck.

no idea where to start looking so please, any suggestions

- Andy
 

Answer:Solved: command line argument added to EVERY program opened

Since System Restore had no effect, the standard EXE fix may not help either, but worth a try. #12 at:http://www.kellys-korner-xp.com/xp_tweaks.htm

Start, Run, Msconfig, Startup. Can you identify all the entries? Google the names, if unsure.

Have you installed any programs lately? Or updates?

What is the 'exact' wording of the error message?
moper
 

3 more replies
Relevance 102.37%

Hello,

I'm trying to split a .flv file by using flvparse, which is a Windows-only, command-line interface tool. I did get through to the directory by following instructions posted on another forum, however, command prompt doesn't seem to recognize the the .exe file. I'm an absolute novice at this, any help would be really appreciated!

Attaching a CP s/s, and here are the instructions I'm trying to follow (copy pasted from the forum)

FLVPARSER

For trimming the beginning and/or ending of videos, you can use FLVParser (http://dev2.avacast.com/FLVparser.zip ).
FLVParser is a Windows-only, command-line interface tool. After you unzip it, move its folder to C:\ for ease of use. Also for ease of use, copy/move the .flv file you wish to edit into the FLVParse folder.
To make edits, you need to know the in and out points where you want the edits. Use FLVPlayer to find these points. FLVPLayer only lists times in total number of seconds, not HH:MM:SS, but don't worry, FLVParser can handle that. In the FLVParse directory create a new blank text file called: CuePointFile.dat
This is the file FLVParser uses to edit from. Open it in NotePad, and enter the in point and out point, separated by a single blank space, like so: 2525 5150
Save, and close the file. Open up the command line interface and go to the FLVParse directory: cd C:\FLVParse
In the command line, enter this to edit the flv:
flvparse.exe FileToSplit.flv CuePointFile.dat
Your file will be split into ... Read more

Answer:Command Prompt doesnt seem to recognize the command line!!

You are using the basic cmd, try in elevated mode
Elevated Command Prompt - Windows 7 Forums

However looking at you screen shot, you may have to check the command over carefully. There does appear to be an error in the command. With my eyes, it is difficult at times to pick out the subtle shades of difference.

1 more replies
Relevance 102.08%

When i download something off the net and it opens it comes up with an error saying Invalid Command Line Argument....it started doing this after i installed(really my pc has auto update)new win dows updates.Anyone have any Solutions....ohh and heres my hijack log

Logfile of HijackThis v1.98.2
Scan saved at 7:44:27 PM, on 10/18/2004
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\Explorer.EXE
C:\WINDOWS\system32\spoolsv.exe
C:\PROGRA~1\COMMON~1\AOL\ACS\acsd.exe
c:\PROGRA~1\mcafee.com\vso\mcvsrte.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\wanmpsvc.exe
C:\windows\system\hpsysdrv.exe
C:\PROGRA~1\mcafee.com\agent\mcagent.exe
C:\PROGRA~1\mcafee.com\vso\mcvsshld.exe
c:\progra~1\mcafee.com\vso\mcvsescn.exe
C:\WINDOWS\System32\xdzmobrq.exe
C:\WINDOWS\system32\rundll32.exe
C:\Program Files\WindUpdates\WinUpdt.exe
C:\Program Files\ISTsvc\istsvc.exe
C:\Program Files\Ahead\InCD\InCD.exe
C:\PROGRA~1\AIM\aim.exe
C:\Program Files\America Online 9.0\aoltray.exe
C:\Program Files\WindUpdates\WinKA.exe
c:\PROGRA~1\mcafee.com\vso\mcshield.exe
c:\progra~1\mcafee.com\vso\mcvsftsn.exe
C:\Program Files\Messenger\msmsgs.exe
C:\Program Files\America Online 9.0\waol.exe
C:\Program Files\America Online 9.0\shellmon.exe
C:\Program Files\Am... Read more

Answer:Invalid Command Line Argument

http://www.newdotnet.com/removal.html
 

3 more replies
Relevance 102.08%

I need to pass a command line argument to my shell on startup how would i go about doing this?FB

Answer:shell command line argument.

Seriously no-one knows how??FB

10 more replies
Relevance 100.92%

I am enjoying Windows 7, but because of some relatively simple disagreements I have with the interface, I've installed litestep as my shell, which I was very comfortable using in previous versions of Windows. Aero and the new and improved task bar just don't cut it for me. The biggest difference I need is hotkeys for starting applications, and from what I've seen Windows 7 doesn't have it. That's fine. Litestep does and that solves my problem.

However, I also prefer to use vim for my text editing, as it's far more powerful than notepad, and I don't need to muck around with the mouse to use it. I usually start it by right-clicking a text file and selecting the "edit with vim" shell extension that was enabled when I installed vim, and then it's all keyboard.

Unfortunately, there doesn't appear to be a way to edit the access settings when starting vim this way. I want it to run with full administrative access every single time I run it. That's basically all I use it for, other than some idle notes and light coding.

Is there a command-line argument to grant full administrative access to an application, or perhaps a way to grant my user unprompted administrative access? It appears that my user is an administrator, but not really. This new model of security through confirmation is dangerous, but in the case of someone that knows how to use their computer, and how they want it to work, it's just plain annoying.

Can anyone address these concerns?

Answer:Command-line Argument for Admin Rights

  
Quote: Originally Posted by bahua


I am enjoying Windows 7, but because of some relatively simple disagreements I have with the interface, I've installed litestep as my shell, which I was very comfortable using in previous versions of Windows. Aero and the new and improved task bar just don't cut it for me. The biggest difference I need is hotkeys for starting applications, and from what I've seen Windows 7 doesn't have it. That's fine. Litestep does and that solves my problem.

However, I also prefer to use vim for my text editing, as it's far more powerful than notepad, and I don't need to muck around with the mouse to use it. I usually start it by right-clicking a text file and selecting the "edit with vim" shell extension that was enabled when I installed vim, and then it's all keyboard.

Unfortunately, there doesn't appear to be a way to edit the access settings when starting vim this way. I want it to run with full administrative access every single time I run it. That's basically all I use it for, other than some idle notes and light coding.

Is there a command-line argument to grant full administrative access to an application, or perhaps a way to grant my user unprompted administrative access? It appears that my user is an administrator, but not really. This new model of security through confirmation is dangerous, but in the case of someone that knows how to use their computer, and how they want it to work, it's just p... Read more

4 more replies
Relevance 100.92%

I just installed a new brother MFC-9840CDW printer and when i try to scan to email (Outlook 2003) it tells me, "The command line argument is not valid. Verify the switch you are using." Any suggestions? I did download a hotfix from microsoft but that did not fix the problem
 

Answer:Solved: The command line argument is not valid?

Does it support Outlook? Is Outlook your default mail handler?
 

2 more replies
Relevance 100.92%

Howdy! I've tried the search utility here with no luck, I've also googled every term possible - again, no luck, so here's my strange predicament: all of my small command line exes are misbehaving the same way, i.e., on opening, they all quickly flash the command-line interface and then disappear. To where, I can't find out. They're not in processes and they're not running, as far as I can tell. Incidentally, my Windows XP Start>Run command-line works just fine. I am able to open these exes there but I'm very inept at running them from there. I'd just like them to perform as they’re supposed to. Do you have any idea what it is that needs configuration? I'm sure of the integrity of these apps, some of them I've used previously with no trouble. MBR tools, for instance. I've scanned recently and don't suspect virus infection as everything else performs well.
 

Answer:Command-line Program Window Disappears

10 more replies
Relevance 99.76%

i am getting an error when i click Outlook "The command line argument is not valid. Verify the switch you are using". Anybody can help me out.

Answer:The command line argument is not valid. Verify the switch you are using

Welcome to the CH forums.MS KB312346 might help.Good luck

1 more replies
Relevance 99.76%

Dear Support people!

I have the following problem with Microsoft Outlook 2007:

Whenever I try to open a file with .eml extension (for example from my computer with right click, or a received email attachment), I get the following error message:

"Cannot Start Microsoft Office Outlook. The Command Line argument is not valid. Verify the switch you are using"

I have tried everything I could think about: I re-installed outlook, un-installed my previous email program (The Bat! - the .eml files were extracted from that program), I reassigned .eml file types to Outlook. I checked whether the registry is ok in this part: H_KEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/OUTLOOK.EXE (it is). If I start Outlook from anywhere else (shortcut, start menu, run command it works perfectly fine, except when I try to make it open an .eml file. I have read through the posts I found here regarding this problem and tried all the suggestions, nothing helps. I have the latest .NET framework.
The only way I can see these files is either in the Bat (which is now removed from my computer) or with a little program called : OutlookFiller, this program imports these files into outlook.

Any suggestions would be most appreciated.

My system looks like this:

Intel Pentium 4 CPU 3,2 GHz (Prescott)
Memory: 2048 MB
Video Card: Asus x1300 series
Windows XP Professional SP2
Trend Micro Internet Security
10 Mbit cable Internet
 

More replies
Relevance 95.41%

Anybody know the command to copy a disk? Like Linux = cp /dev/sda /dev/sdb , or dd xyz -> xyx

What's the Windows command line syntax for this copy task?
 

Answer:Command line to clone disk? COMMAND line; NOT 3rd party app.

No. Don't believe that is built in. The latest Windows versions have imaging software built in with a GUI.

Or, DD For Windows

Free system imaging/backup software:

Macrium Reflect (Free)
O&O Disk Image Express
Comodo Time Machine
Clonezilla Live (A bootable CD of Debian with Clonezilla.)
Paragon Backup & Recovery
Drive Image XML
PING (Partimage is not Ghost)
Partition Saving
Clonezilla
 

3 more replies
Relevance 92.8%

Hi!

I want to no how I can hide gadgets from the command line.

I'm constantly frustrated by the fact that the gadgets layout is destroyed when I rotate my screen. So I set a scheduled task to unpack and overwrite the ini file for the gadgets.
But it doesn't work reliably (nothing does with the pathetic task Sheduler). The task doesn't run on time (or doesn't run at all) and such the layout is still broken. So I was thinking I could hide it via command line, restore the ini, then show them again. (With three tasks with a delay, because the task scheduler is garbage and it wont work otherwise, if it'll work at all.)

More replies
Relevance 92.51%

How can I prompt for numeric, and make sure only numeric is typed in command lineeg set /p var=Enter any numeric:-

Answer:how to prompt for numeric in command line

AFAIK you cannot test each digit as it is typed. However, after the digits have been <Entered> you can test the variable to ensure it contains only numeric digits. Amend the following untested script to suit your needs:@echo off
cls
setlocal

set /p var=Enter numerics:

set chars=1234567890

FOR /F "tokens=1 delims=%chars%" %%1 IN ("%var%") do (
ECHO %Var% contains at least one Non-Numeric character.
)
echo %var%
Did you Google for an answer before asking the question?

2 more replies
Relevance 91.93%

os : windows 7 sp 1

VLC media player version 2.2.0

When open vlc media player an additional vlc window(command line interface) opening ,

how to hide that command line interface in VLC

can't able to close command line interface window, when i did total vlc closing ???

Answer:how to hide VLC media player command line interface

Hi have you tried going to the vlc program file in all programs and resetting the preferences

2 more replies
Relevance 91.64%

I want to run a chkdsk c: /f /r /x from a command prompt but NOT have it ask if I want to run it at next reboot. I just want it to run without a y/n input. Is there any such way to do this?
 

Answer:Solved: Run chkdsk.exe via command line without getting yes or no prompt?

No way. It can only fix errors when the OS is not running.
 

2 more replies
Relevance 91.64%

I'm not sure if I have the name right, but, basically; the little blinking line that shows up when you're typing something, right? AKA, when you're writing up a response to this, it will be there just ahead of your text.

Anyways! This thing won't go away on my Firefox, no matter where I click. For instance, if I click off to the side of this type box, the line blinks off to the right of the resize button. If I click up near the top of the page, it'll be somewhere up there, depending on where I click, usually next to a link or something. If I click in the middle of any text on a webpage, say a blog or what have you, the little line is right there, blinking merrily away.

So it's not a huge problem, but it's irking the hell out of me. My sister brought her kids over while I was at work, and I'm assuming they got a hold of my keyboard or something, since it wasn't happening before now.

Anyways, anybody have an idea of how I might stop this little nuisance?

Answer:[SOLVED] Command Prompt Line always showing

It's called caret browsing and can be toggled on/off with the F7 key.

The kids might have hit the key by mistake, but it usually brings up a popup box asking you to confirm the change.

2 more replies
Relevance 91.35%

i want start a Run a scheduled task via command line like this:

Code:

%SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup"
when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start.

Is there a solution?

Is the problem related to windows 10 ?

Answer:Run a scheduled task via command line via command line

Hi, assuming you want to set up a scheduled registry backup, why not take advantage of this free tool, which also offers various repairs?

4 more replies
Relevance 90.77%

I need to be able to open PDF files from Win 8 32 bit DOS Command Line to complete a DOS macro for a document management database I've used for 20+ years.

On XP Systems I simply have macro grab file name from database and type >Start "Path\filename.pdf"

Does Windows 8.1 have a similar capability? I'm using ClassicShell.

I understand that Start now opens another instance of cmd, but is there a work around to launch PDFs from command prompt and hand back control to DOS after file is open?

Thank you,
Tom

More replies
Relevance 89.61%

hi folks,

I'm currently running Windows XP SP3 on a netbook which is connected via WiFi to the internet. One of the executable programs I use require the netbook to be offline before it can load properly.

What I wanted to know was, is it possible I can write a command line prompt that will automatically kick in when the executable runs. The prompt would disconnect the WiFi, allowing the program to boot offline without having to manually disconnect everytime.


Thanks in advance for reading the post

Answer:writing command line prompt: no wifi when opening executable

Hi

For more information you can read this document Enable/Disable Wireless Card from Command Line

First you have to download devcon.
Unzip it and copy the unzipped devcon.exe file to c:\windows\system32

Then create a file in notepad, copy the code below and paste it into the file. save it to your desktop as something like myprogram.bat:

Code:
devcon disable *DEV_001C*
program.exe
devcon enable *DEV_001C*
The device ID (DEV_001C) is found in your dxdiag.txt file that you attached and is the device ID of your Wireless card.
Program.exe is the name of the executable program that you want to run - change it to the name of your program's file name.
The batch file will disable the wireless card, then run the program. Once you exit the program the wireless card will be enabled again.

Or else

Code:
devcon disable *DEV_001C*
start program.exe
devcon enable *DEV_001C*
This batch file will disable the wireless card, Start the program and then enable the wireless card regardless of whether you are still in the program or not.

Note Devcon is a very powerful tool and you will have to be logged in as an administrator to run it.

1 more replies
Relevance 89.61%

Hi All,

Previous PC was an XP and we had a shortcut within the Send To context menu called "Mail To" which when clicked on a file would open a new email with the file attached and with the default email (as done from within Outlook), not the crappy text "mail recipient" one that is standard in the Send To context menu.

The target string in the shortcut was
"C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note

When trying to set up the same shortcut in Win 7 using the same string (but with Office14) we get an error which states. "The command line argument is invalid. Verify the switch you are using."
"C:\Program Files\Microsoft Office\Office14\OUTLOOK.EXE" /c ipm.note

If I navigate to the SendTo folder and double click the shortcut, it works. It opens up a new email as if I click New E-mail from within Outlook. But when selecting via the context menu, it fails everytime.

What can we do to fix this? We have to email a lot of files manually and opening a new email then attaching(or even drag/drop takes a lot of extra time.

Thanks for any advice.

Answer:"Mail to" shortcut in Send To context menu fails command line argument

Hello StuckatWork, and welcome to Seven Forums.


Double check in Default Programs to make sure that Microsoft Outlook is set as the default email client.

Are you able to select the files you want to attach and click on the E-mail command bar button for this to work that way instead?



Hope this helps,
Shawn

4 more replies
Relevance 88.74%

Hi guys,

I have a folder with 995 files in it and I'd like to give someone a text file with a list of all these files in it. Is there a way that I can get the command line to send the names of these files to a text file?

I tried navigating to the directory and using the DIR command and, sure enough it gives me a list but I am unable to copy and paste it to a textfile myself for some reason.

Any help would be appreciated.

Answer:Command Line Prompt - How To Export List of Files to Text File

type this:

DIR > dir.txt

This should save the output of DIR into the text file dir.txt

5 more replies
Relevance 88.16%

can Window Update be ran from command line?

Answer:run window update from command line?

yes, you can run it from the command line

%windir%\system32\wuapp.exe startmenu

works but it brings up the gui

Rich

9 more replies
Relevance 88.16%

After creators update, bash window does not update last command. ie .bash_history not getting updated.
Any reason?
Any way to solve it?

More replies
Relevance 87.29%

i get an error when i try to run cmd that says:

c:\WINDOWS\system32\cmd.com
c:\program files\symantec\s32evnt1.dll
an installable virtual device driver failed dll initialzation...

then i can close or ignore, and ignore does nothing. My computer had norton system works or something on it when i got but i took it off. Any help is greatly appreciated

i get the error when i do start -> run -> cmd
 

Answer:error when trying to open command line window

15 more replies
Relevance 87.29%

I am trying to close a window on my Win2000 Ser using a batch file. I cannot find a way to shutdown the SQL Remote (I have Adaptive Server Anywhere 7 ver. 7.0.3.2082). SyBase told us to make the application a service but for one reason or another we cannot in this instance. Does anyone know how I can shut down this app. ether through SyBase or through Windows?
 

Answer:(Solved) Closing a window with a command line

Howdy Bookworm69...

If it is running as a process you can use tskill, to end it in a batch...

You will need the W2K resource kit for the file tskill.exe...
 

3 more replies
Relevance 86.71%

hi there

can anyone up/give a link to get a uharc archiver/extractor and a command line doc cos i want to use the program and make my own own uharcs

thanks
 

Answer:uharc program + command line

"uharc" to Google gives a huge choice...
 

2 more replies
Relevance 86.71%

i want to run a command line program as part of the boot process (like one does chkdsk /f for the system disk) but don't know how to (chkdsk does it automatically this one doesn't provide an automatic option built in)

Answer:want to run a command line program at boot

Try a ERD commander, it will allow you to do more than just use command prompt.

4 more replies
Relevance 86.71%

recently i ran across a small command line program
that would list all all the new files on your computer
within a specified time(anywhere from 5 seconds to
months)you could also specify a drive or any folder etc.
it would output what it found to a text file,and open
that file in notepad.
I cant remember its name or where i found it.
anyone out there know of a program as such ,and where
it can be found.
It is very similar to the way the output log looks(after you run
ComboFix) and shows all the new programs in the last 30 days.

thanks

Answer:small command line program?

Is this what you mean, from here

4 more replies
Relevance 86.71%

Hello.
How can I reload a program via "cmd"? I don't like to "taskkill" it or... I just wanted to reload it.

Thank you.

More replies
Relevance 86.71%

Hello All,
I would like to know if there is a way to run a java program, requiring administrator priviledges, via the Windows command line.
Normally you would right click and then select 'run as administrator' - but i would like to set this as a property on the command line, so that you dont have to right click every time. Is this possible?

Answer:how to run a program as adminitrator via the command line

Create a new txtfile, pase this content:

@echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs
@echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs
@echo objShell.ShellExecute "%1", args, "", "runas" >> %temp%\sudo.tmp.vbs
@cscript %temp%\sudo.tmp.vbs
and save it as SUDO.cmd.

Now copy the cmd to your system32 folder.
When you now want to run a programm with admin rights type this:

sudo cmd /k javaw.exe JAVA file

Now accept the UAC prompt.
Hope this helps.
André"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/

14 more replies
Relevance 86.71%

When I open the command.com, the default directory is c:\docs&settings\username\, or whatever.

Let's say I need to run a program called GO.exe, located in c:\utilities\. How can I run this without having to change directories, or specifiy the directory everytime?

I seem to remember back when I was in school, and using command-line-based Java compiler, that I could edit some file to make this possible. Maybe I'm completely wrong, but it would be really helpful if this is possible. Anyone?

Answer:calling a program from the command line

Figured it out. Just had to edit the PATH Environment Variable.

1 more replies
Relevance 86.13%

In windows 2000 or 2003, how do I prevent cmd windows from automatically closing after execution? I need them to stay open to debug an activex script
 

Answer:preventing command line window from auto closing?

they, uuuummm...do stay open, if you run the command from the actual command line, and not from the "run box".
 

5 more replies
Relevance 86.13%

I have a problem running a task with Task Scheduler. The task doesn't run. I have to debug it. When I try to make it run from the app a message appears on a command line message, but it appears and disappears so quickly that I can't read it. To fix the problem I need to read it to know what is going on.

Can someone please tell me how to stop that command line window message from closing, please?

Answer:Stop Command Line Window Message From Closing

can you run the program from the command line?

open a new cmd window go to Run and type in cmd.exe

when it opens it should be in c:\windows

navigate to the folder, run the file

9 more replies
Relevance 85.84%

Somehow the line that you put web sites -- after the http --has disappeared. I'm sure that there's a simple way to get it back but I'm new to WIN XP. Can someone help.
 

Answer:Lost command line -- line with site addresses WinXP

I think you are talking about the address bar in a web browser???

You did not mention what browser you are using. For Internet Explorer 6, right click in any other visible menu bar and then make sure that "Address Bar" is checked in the box that pops up. This may work for other versions of Internet Explorer.
 

3 more replies
Relevance 85.55%

In Windows I have Scite (a text editor) set as the default program to open .pl files. That's fine when using explorer. But on the command line I would like to have a different program open .pl files. So basically, different defaults for explorer and cmd. How would I do this?

More replies
Relevance 85.55%

Can anyone help me as I am looking for a free video conversion program to convert a batch of mp4 to wmv. with a mouse click. I think one with a command line will workI have checked super, handbrake, any video converter all don't have command line. Thanks

Answer:Command-line Video conversion program

Try here:http://forum.videohelp.com/

3 more replies
Relevance 85.55%

Hello,How can I run a program from the command line as an administrator. I'm looking for a command line equivalent to right-clicking on the program icon and choosing "Run as Administrator".

Answer:running a program from command line as administrator

depending on command you maybe able to give the account and password credencials.If its a scheduled task you can run it under an admin account [never the administrator account]Answers are only as good as the information you provide.How to properly post a question: Sorry no tech support via PM's

4 more replies
Relevance 85.55%

Hi

may i know the firewall command line to block a program in and out?
i did a search a lot ,but i need only the command line to block a program

thanks

Answer:may i know the firewall command line to block a program?

netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes

5 more replies
Relevance 85.55%

Hello,

How can I run a program from the command line as an administrator. I'm looking for a command line equivalent to right-clicking on the program icon and choosing "Run as Administrator".
 

Answer:running program from command line as administrator

runas /user:domain\administrator "path-to-application"
 

2 more replies
Relevance 85.55%

Hey guys,Joined the forums just so I can ask this noobie question. As the subject states, I want to create a batch file that starts an App with its command-line parameters  in place. Please note that i am not refering to a program shortcut. Here is an example of the App I wanna launch with its paramaters ("I:\demo\SushiDX.exe" -debug) How do I turn this into a bat file.  If I make this a shortcut, it works fine, but when its  in batch format i get errors.THanks guys

Answer:Start A Program with its command-line parameters

Some programs need to be logged in to the directory where the excutable is. You didn't mention which version of Windows you have, but this should run in all of them:Code: [Select]I:
cd \demo
SushiDX.exe -debug
Shortcuts have the "Start in" parameter which can point to the executable directory. In batch language, you have to duplicate the result using a different technique.Hope this helps. 8-)

4 more replies
Relevance 85.55%

Hello,

How can I run a program from the command line as an administrator. I'm looking for a command line equivalent to right-clicking on the program icon and choosing "Run as Administrator".

Answer:running program from command line as administrator

Click the start orb, All Programs, Accessories, Right Click on the Command Prompt Icon and choose run as Administrator.

Now you have a command Prompt running as Administrator and Programs launched from there are launched as administrator rights.

Good Luck
Roger

2 more replies
Relevance 85.55%

In Windows I have Scite (a text editor) set as the default program to open .pl files. That's fine when using explorer. But on the command line I would like to have a different program open .pl files. So basically, different defaults for explorer and cmd. How would I do this?

Answer:Associate different default program with ext for command line only

When using command line, can you use:
path to different app [space] path to pl file

2 more replies
Relevance 85.26%

The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

I'm going blind here, can someone please tell me how to change this?

Answer:Cmd window font tiny when running .bat and other command line progs

Originally Posted by thermocycler


The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

I'm going blind here, can someone please tell me how to change this?



I've changed my Command Prompt window to display yellow text on blue, changed Font size and changed window size. I went to Start, All apps, scrolled down to the W section, scrolled down to Windows System, right-clicked Command Prompt, clicked More and chose Open File location. Then I right-clicked that shortcut and Properties. The same settings affected both Command Prompt choices on the right-click of the Start menu.

1 more replies
Relevance 85.26%

The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

I'm going blind here, can someone please tell me how to change this?

Answer:Cmd window font tiny when running .bat and other command line progs

thermocycler said:

The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

I'm going blind here, can someone please tell me how to change this?



I've changed my Command Prompt window to display yellow text on blue, changed Font size and changed window size. I went to Start, All apps, scrolled down to the W section, scrolled down to Windows System, right-clicked Command Prompt, clicked More and chose Open File location. Then I right-clicked that shortcut and Properties. The same settings affected both Command Prompt choices on the right-click of the Start menu.

10 more replies
Relevance 84.97%

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

Answer:Whats the command line command to stop a process?

Quote:





Originally Posted by djw2009913


Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.




Click on Start, then run
type in cmd to get to command prompt
type in taskkill /f kbd.exe

The forward slash /f forces it to kill the process.
Here is link for some examples

http://www.tech-recipes.com/windows_tips446.html

2 more replies
Relevance 84.68%

Hi I have an application that I'm stumped with.
What I have is a service that's running and while it is running starting another program results in the second program "hanging" until the service is stopped. Once the service is stopped the second program completes startup and runs fine. I should also note, the second program continues to run fine even after the service is restarted.

I have been reading about "net conmmands and thought they were the answer but I read this :
NET STOP Stops services. NOTE: Services cannot be stopped from a command prompt within Windows.

on the following webpage:
http://www.computerhope.com/nethlp.htm#03

I have proved this doesn't work by trying it with a command prompt with no success.
Or maybe I just could not figure out what the correct name for the service was.
Does anyone know how to determine the actual name of a service? What appears in the "services" window does not seem to be the actual name I would call in a command line.

Hope someone has some ideas,
Thanks in advance,
DF
 

Answer:Starting and stopping services from another program or command line

You can start and satop services from a command line by using its real or display name. The name of the service is on the first tab of each service in the services MMC console.

For example, The DHCP Client can be stopped using it real name (Dhcp) or its display name in quotation marks ("DHCP Client").

net stop Dhcp
or
net stop "DHCP Client"

Strating is just as easy:

net start Dhcp
or
net start "DHCP Client"

These commands also work just as well from a batch file.
 

2 more replies
Relevance 84.68%

I'm trying to run a program that will prevent Windows 7 from sleeping, then run some batch commands, and finally close the program. The problem is that when I execute the program from the batch file, the processing stops and waits. A simple script such as this doesn't even work:


Code:
path:\insomnia.exe

taskkill /im insomnia.exe
Is there a way to open up a program and then move on to the next set of commands without waiting?

Answer:Command Line Program Open Freezes Execution

Code:
path:\insomnia.exe

taskkill /im insomnia.exe
Hi -

Try this - copy into batch file -

Code:

taskkill /im insomnia.exe /f

To execute it, RIGHT-click on your batch file, select "Run as Administrator"

Your call, but I would just change the power option to "high performance" when you don't want it to sleep. Please note: I have NOT tested the insomnia.exe app.

Regards. . .

jcgriff2

`

9 more replies
Relevance 83.52%

Hello all, what command would I run to set JUST the secondary DNS on clients machine, and nothing else? I appreciate the help! :)

Answer:[SOLVED] What is the command line command to set up secondary DNS?

:) Anyone have any idea? Maybe this can be moved to the 2003 server forum?

3 more replies
Relevance 83.52%

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran ?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

I downloaded psshutdown
C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep

Answer:Win 10 home 64 bit command line Sleep command

JimO said:

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep



The first one simply turns Hibernation off, disables Fast Startup, and deletes the system file hiberfil.sys. I'm not aware of connection with Sleep or waking up on a trigger. I have these settings, as stated, on my machine, and I can still put it to sleep and wake it up. I'm not familiar with the last four at all, although sleep states are usually (I think) set in the BIOS. Whatever is set there is available in the OS. S0-S4, I think. Maybe S5.

A little more info here: NO Hibernation just SLEEP

Also, you might want to check your advanced power plan settings to see if you have enabled wake timers.

1 more replies
Relevance 83.52%

I have created a manuals package. The package has a main file that everything else is linked to. I can create a self extracting exe program from pkzip application. What I don't know how to do is have the program create a shortcut to the main file from this program. If it is not possible to do this with pkzip then what application will do this.i.e. I want to have something say "Would you like to create a shortcut to Manuals or your desktop?" in the or any file extraction application.Thank youRJT

Answer:How to create self extracting command line command

You can create a WinScript file (.vbs extension)Example:set WshShell = WScript.CreateObject("WScript.Shell")         strDesktop = WshShell.SpecialFolders("Desktop")         set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")         oShellLink.TargetPath = WScript.ScriptFullName         oShellLink.WindowStyle = 1         oShellLink.Hotkey = "CTRL+SHIFT+F"         oShellLink.IconLocation = "notepad.exe, 0"         oShellLink.Description = "Shortcut Script"         oShellLink.WorkingDirectory = strDesktop         oShellLink.SaveYou'll have to change the parameters for your own situation. Good Luck!

2 more replies
Relevance 82.94%

Hello,

Post number one...please don't yell at me if I screw something up...

I'm attempting to re-create a batch file I made several years ago for XP that I've since lost. I am attempting to write a batch file to run a program that prompts for user input. I need to automate the input of the data, but I don't have access to the source of the program. Any help would be greatly appreciated.

Thanks,
Ben

Answer:Using batch to input prompted data while running a program in command line

Thank you for your question benhavo. My name is benhavo, and I have your answer...

In case anyone runs into the same question, I figured out a solution that works fine for me:

echo input| command

input = the value you are inputting to the prompt
command = call to the program

1 more replies
Relevance 80.33%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.
 

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)
 

3 more replies
Relevance 80.33%

I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?

Answer:Executing command line command anywhere ?

Add the directory the cmd or bat files resides in to the PATH environment variable.





Quote:
To check or modify the system PATH environment variable, do the following:

XP: Right clock on My Computer
Vista, 7: Right click on Computer
Windows 8, 10: Right click on This PC

Select Properties

Vista, 7, 8, 10: Click on Advanced System Properties on the left

On the Advanced tab, click on Environment Variables
Under System Variables, scroll down to Path
Select it then click Edit

An easy way to look at all of it is to right click on the highlighted Variable Value field and select copy, then start Notepad and paste the data into there. That way you can easily look at all of it.

It's also a lot easier to make changes in Notepad then copy and paste the changed data back into the Path Variable Value field.

Click Ok as needed to exit when done

4 more replies
Relevance 80.33%

I need some help, but probably don't have a full grasp on the problem, so don't really know how to ask for help. I will describe what I have and hopefully, it will help to describe what I want to accomplish.

I have a Linksys router with DD-WRT installed. I am able to SSH/Telnet into the router. I would like to be able to reboot or shutdown my computer remotely from the command line during a Putty/SSH session.

Here is how I make the session connection: In Putty, I enter
the static IP address and port (default is 22) under "Session".
Under "SSH > Tunnels" I enter the "source port" (again, 22)
and "Destination" (ex - 192.168.0.5:3389), then hit "Add", then "Open"

This opens a command line, where I enter "user" and "pwd"
(the defaults are root and admin). I am now connected to my
router and I can use Remote Desktop to get control over my
remote computer (using XP Pro).

My question is: While at the command prompt, is there a
command to reboot or shutdown my remote computer? Is there a list
of other commands that are available here?

BTW, at the command prompt, I can start my remote computer (Wake on LAN) by typing the following command:
/usr/sbin/wol -i 192.168.0.5 MA:CAD:RE:SS:44
(where the last portion is the MAC address)
 

More replies
Relevance 80.33%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.
 

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)
 

3 more replies
Relevance 79.17%

I'm trying to install a test passport software for Net+ exam I'm getting a error message. Invalid command line argument consult windows consult the windows installed SDK.

Answer:command line argument consult windows consult the windows

Is the software designed to run on Windows 8 or 8.1?

2 more replies
Relevance 77.72%

I want to use the command line to open the "Custom sizing options" window in Windows 10, please view the image, thank you.

More replies
Relevance 77.72%

I want to use the command line to open the "Custom sizing options" window in Windows 10, please view the image, thank you.

Answer:How to open the "Custom sizing options" window using command line?

What is generally listed e.g
control.exe /name Microsoft.Display
now opens Settings.

MS is moving to Settings from the control panel progressively, so this may be hard to identify now.

In principle it would be possible to write a small Autohotkey script to navigate there, compile that (easy) and run it from a command line.

7 more replies
Relevance 77.43%

I am currently working on setting up a server thats running windows XP and was wondering if there is a way I can have Putty and Command Prompt running, but not visible. I don't want them as windows or minimized, maybe in the tray at the bottom right corner of the screen, or best of all, just the process. I need to enter a few commands in each initially, but after that would like to make them invisible. Thanks in advance.

HAhjd19

Answer:Hide Command Prompt and Putty

for the command prompt commands you can just create a batchfile that runs the commands in the startup folder and then exits afterward but for the putty client i dont think you can because it is 3rd party software. you could make it open on startup and enter the commands manually but i dont think you can make it do it by itself.

4 more replies
Relevance 77.43%

When I try to use the Run command module to run something like ipconfig, the little black window (go ahead and laugh... no idea what to call it) opens as expected, and i can catch a quick glimpse of the expected text. Then it vanishes before I can actually read anything. It can't be open for more than 1 second.

I'm scanning for viruses now.

(XP Pro with all critical updates installed.)

IBM Thinkpad T40
 

Answer:"Run" command line window flashes and closes!!

6 more replies
Relevance 75.98%

when i try to open my yahoo messenger account or a html doc. i get this pop up message: "there was a problem sending a command line to program". any suggestions? thanks

Answer:"there was a problem sending a command line to program"

Try booting to Safe Mode with Networking, see how things behave.

If the problem goes away then something is starting at boot time that is causing the problem, or a Internet Explorer Add-on is causing the problem.

Boot normally, then start IE without Add-ons.

Click on Start, type iexplore -extoff and press Enter.

You will get an IE window like this:

Click on Home to go to your normal Home page. See how things are. If okay then use Tools / Manage Add-ons to disable them a few at a time till you find the culprit.

If that doesn't make any difference then Use msconfig to determine what is causing the problem

This is a good tutorial on using msconfig in Windows 7:
How to use msconfig in Windows 7

Click on Start, type msconfig and press Enter.
Click on the Startup tab, record what is currently starting then click the Disable All button.
Reboot and see if it runs better.
If yes then use msconfig to enable several items at a time till you find the culprit.

If no, start msconfig and click on the Services tab.
Check the Hide All Microsoft Services box, record what is currently starting then click the Disable All button.
Again, do a regular boot, see if it runs normal.
If yes then use msconfig to enable services till you find the culprit.

Once you've found the culprit, uninstall it or find out how to eliminate it from your system. Simply disabling it in msconfig is a temporary fix at best.

Enable everything else you disabled.

6 more replies
Relevance 104.96%
Question: command line

is it possible to creat an admin account through a non admin account via command line?

Wolf
 

Answer:command line

Not without admin rights, no.
 

3 more replies
Relevance 104.96%
Question: Command Line

Do any of you guys know how to restart a network card? (disable/enable) from the command line in windows (particularly windows server 2003). I want to create a batch script to restart this if the server can't connect to something on the internet after a certain time period.

I'm having a problem with a network card just stopping to respond for some reason and the only way I can get it to work again is to restart it that way unless i want to restart the whole server. I had this problem with another server as well. About all I can think of is either the switch is malfunctioning or i'm screwing up some sort of dns issue.
 

Answer:Command Line

wouldn't it make more sense to try and figure out what is causing your problems? Patching things with duct tape won't get you far.
 

11 more replies
Relevance 104.96%
Question: command-line log?

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current command.com session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!

MS
 

Answer:command-line log?

No log, usually. You would need something like 4NT or PowerCmd to log command actions.
 

1 more replies
Relevance 104.96%

I recently installed new software that requires adding a command line to allow the software to restart and configure itself at start up. The manufacturer, who hasn't responded to my e-mail gives instructions to automatically load this software already configured by using the "command line". I'm using XP Pro. I believe that it's the last line below that needs to be loaded but my question is how do I so this. Here are the manufacturers instructions.
Usage:
VSPEmulator.exe <config file path> <options>
Config file is a special file with extension ".vspe" that can be created using VSPE "Save as..." command.
Options are additional parameters that can be passed to VSPE to manage its basic behavior.
-minimize : minimize VSPE dialog
-hide_splash : do not show splash window
Example:

Execute VSPE and automatically load configuration file
VSPEmulator.exe c:/config_files/main.vspe

Execute, load configuration file, hide splash and minimize VSPE
VSPEmulator.exe c:/config_files/main.vspe -minimize -hide_splash
 

Answer:How do i use the command line in xp

6 more replies
Relevance 104.96%
Question: command line

Are there any Windows equivalent commands for the following commands on Linux:

1.to launch a process one after another U type this:

Code:
foo1 && foo2 && foo3 & ...
2.to launch a process with a certain delay U type the following:

Code:
at +5min foo
3.to launch a process from a terminal but only in the background U just type & at the end of command.
 

Answer:command line

"at" is a simple dos command that still exists. type "help at" at the command prompt. Same for the "&&" placeholder (eg. dir && edit lists directory contents and starts the editor after that).
 

7 more replies
Relevance 104.96%

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current command.com session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!

MS

Answer:Log Of Command Line?

No to both. I'm unaware of an easy way to do this, preferring to save my sessions with the screen capture utility and pasting it into MSPaint.

1 more replies
Relevance 104.96%
Question: command line

how do you change the messenger startup setting from disabled to automatic through the command line.

Answer:command line

can't. you have to change it to manual in the control panel before you can change it on the cmd line.

services.msc
change setting. Then use cmd for the rest...

6 more replies
Relevance 104.96%

I've been messing around with the ftp program in Windows XP's command prompt, and I've got something odd happening.

I uploaded a copy of AVG to my own website so I wouldn't have to hunt for it and so I could use this ftp program to download it. After giving the "get" command with the file name, the file downloads. But when it's done...if I go to run it, a new command prompt window opens for a split second, shows nothing, and disappears. This has happened on two different PCs now.

If I use a web browser to download the files, it works. I'm not sure what to make out of this. Could I be doing something wrong?
 

Answer:FTP at the command line

Sounds right, FTP is pretty simple. What is the FTP server on the other end that is dishing out the file?
 

1 more replies
Relevance 104.96%
Question: Command Line Help

Hey, can anyone help me. I am trying to make a File using CMD edit which could dump all the tasks running. I can?t figure the code; I got "tasklist" part but then....
So I am a little lost, :dead: well actually I have no idea what I am doing . And while you are at it, can someone recommend me a program which has all the command lines and what they do. Or even those "click a command" programs (if there is one). Thanks.

(for the :suspiciou "why do I want it" folks, well I would copy the file on my USB disk drive, take it to the cafe down below and see which programs they are running - there is this program which, when I type "Patch" in the internet explorer shuts it down and so I am not able to download all those Quake, Farcry, Doom, Painkiller, Halflife and etc. patches which improve performance and add a little more game play. Then I would make another file which would shutdown those processes. Hope I am not confusing you guys.)
 

Answer:Command Line Help

Easiest way I can think of is to use
tasklist > "directory you want file in"\tasklist.txt
But I'm not sure I understand what you're asking for here. Perhaps you can try to clarify a bit?
 

1 more replies
Relevance 104.96%
Question: Command line

I wish to have downloads from the Web transferred directly to a file I have on my desktop. Presently it goes to program files/x86/program name. I wish it to go to my desktop and into "My Downloads". if possible. Can anyone help me accomplish this task? I need the command line. Thank you.

Answer:Command line

Hi Alvin,

First, if you aren't prompted for where to download files, see the following article to make sure that happens: Not Prompted to Specify Download Folder for File.

Second, if you are prompted but don't like where it selects and want it to be a different location (like the folder on your desktop), check out the following article: How to change the default download directory for Internet Explorer | Windows Reference.

I hope this helps.

Good luck!

3 more replies
Relevance 104.96%
Question: AOL Command Line?

Foolishly signed up for AOL broadband (out of sheer laziness, I really should have known better!) and have found their online help to be a bit hazy in the area of commandline/batch commands.

What I want to be able to do is exit AOL, confirm my exit, exit AOL communicator (the nearest thing to POP3 that AOL offer) and shut down a few other programs I use all at once by means of a batch file.

Any ideas whether this is doable (the batch side of things I'm happy with, just the AOL command line stuff I'm not sure on).

Thanks guys.
 

More replies
Relevance 104.96%

Hi,

I would like to know what is the command for delete files and shortcuts on current user desktop.

Is it del C:\documents and settings\*\local settings\desktop\popup blocker stops popups.lnk?

Using winxp pro. I know it is easlier to use windows explorer but I am doing this for interest.

Thank you.

Answer:Need some help on command line pls.

You are roughly right. When you open the DOS box, it will automatically be logged on the current user's account: C:\Documents and Settings\Account Name\

from there, change to the folder where the file or shortcut is located (for example, type CD Desktop, then press [ENTER]. Then type DEL (name of file or shorcut) and press [ENTER]

For stubborn files which won't delete while Windows is running, open the DOS box then end the EXPLORER.EXE process which quits the Windows shell but leaves the DOS box open for you to issue the DEL command on the stubborn file. When done, bring up the task-manager again (CTRL-ALT-DEL), log-off then log-on to restart the Windows shell.

2 more replies
Relevance 104.96%
Question: Run Command Line

Anybody know the Run command to show ip address' etc on a XP and Vista machine. Cheers all

Answer:Run Command Line

I know that you start with cmd

2 more replies
Relevance 104.96%

Hi Guy's and Girls,

Just first off I've never been too good with CMD and only an Apprentice in my company I work for.

Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file:

I would need a Batch file that is able to read the follow;
Find Current Hard Drive Space and What is used (Dir can do this as far as im aware)
Convert the CMD information Into either a Excel Document or a .txt format.


If anyone could lend me a hand with this that would be great.

P.S the drives I want to make a log of are Server Destinations so i can monitor their disk space daily.

Regards
New Member
Dale

Answer:Command Line - Help

I don't know if this might help. I have a command line program that gives the free space in B KB MB GB using the largest appropriate. It's df.exe for disk free

[C:\Program Files\JPSoft\TCCLE13x64]df /?

df.exe 1.0.9.1 Copyright 2014 favessoft.com

Usage: df [ C D \\Name\Share ]
free disk space in one of B KB MB GB

( Truncated to 3 decimal places. )

example:
[C:\Program Files\JPSoft\TCCLE13x64]df c
383.848 GB Free on c:

If you would like to try it, it is free and may be downloaded from my page here:
Miles Ahead Software

Edit: you can use command line redirection to output to a file.
For example to append the result to test.txt you can do
df c: >>test.txt

Edit2: You may specify more than one drive on the line.
Example:
[C:\Program Files\JPSoft\TCCLE13x64]df c e
383.848 GB Free on c:
65.669 GB Free on e:

[C:\Program Files\JPSoft\TCCLE13x64]

9 more replies
Relevance 104.96%

How do we check if IE has finished downloading a file through command line..?

Answer:IE 6 Command line help

Start>Search>Name of File. Most downloads tell you when they're finished and if you need to manually install.

3 more replies
Relevance 104.96%
Question: Command Line

I am using Remote Destop Connection through Terminal Server for my stores to log into our point of sale, Which is on a Windows 2003 Server. Under the user accounts, it says I can have TS automatically open a specific program when they log in, but I have to enter that programs command line. How do I find what the command line for that progrram is?

Our pos also has an email client built in which can scan files with antivirus software. I need to find the command line for Norton AV too.
 

Answer:Command Line

I would think they are talking about the path to the file.

c:\Program Files\etc.....
 

1 more replies
Relevance 104.96%

I was given a laptop to try an repair. None of the applications would open, it either asked how you want to open it or say no application found. After several tries I was able to do a virus scan. Couple Trojans and virus. Still no change in laptop. I googled the question and found someone asking a question with similar problem & was told to download this scan. I figured I had nothing to lose the laptop wasn't working so I outsmarted the virus & downloaded the program... After downloading, it needed to reboot. but before I allowed it to reboot I noticed the applications suddenly working... Rebooted & scanned. Its came up with 4 Trojans, 4 viruses & over 200 accounts of spyware. To remove them was $40 with $30 mail in rebate... My friend suggested that what I had downloaded was one of those scams that give you the Trojan & make you think they are getting rid of it for a price. They suggested I do a killdisk to wipe out the HDD and reinstall the OS.
Killdisk worked, it says I need to do a FDISK & FORMAT before I can download the new OS. I can't figure out how to do that. I get a blank black screen with a curser but it won't take any code. I have tried downloading the OS (windows XP) and it says it can't find any hard disk drives.

What am I doing wrong?
 

Answer:how do you get a command line?

10 more replies
Relevance 104.96%
Question: Command Line

Is there a cmd.exe /switch for ?run as administrator? ?

Thanks-

Answer:Command Line

  
Quote: Originally Posted by win7clutz


Is there a cmd.exe /switch for ?run as administrator? ?

Thanks-


Not that I'm aware of, but if you click the start orb, type "cmd" (without quotes) then right-click "cmd.exe" in the search results, you can then select "Run as Administrator" (but you already knew that...)

Here is a part of the switches available to CMD.EXE (You can get more by opening a command line window, then type "CMD /?" (without quotes) and pressing <ENTER>:


Code:
C:\Users\Peter Dzomlija>cmd /?
Starts a new instance of the Windows command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
Unicode
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and... Read more

4 more replies
Relevance 104.96%

Hi,
Not sure if this is the right place to post this but I wanted to ask a tricky question.

I want to be able to access another PC via telnet (this I can do easily via RADMIN software) which gives the the CMD prompt access.

I then want to be able to launch a Sound file (or similiar) so that the user on the other end just hears whatever sound I have triggered (i.e. it doesn't have to launch WMP or similiar software).

Any ideas on how to do this?

I know it can be done as a clever guy I used to work with set it up and it was quite comical in the office when he was able to trigger cow noises, etc from anyone's PC by remoting in via the backend.

Cheers

Dave

Answer:run exe via command line

I don't know the answer, I just want to subscribe in case someone else does !

I suppose if you could figure out how the default Windows sounds are triggered you could find the command line to run them.

2 more replies
Relevance 104.96%
Question: command line

How do I create a batch file that will execute an exe and have this syntax "omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001" follow through:-e.gecho offstart "C:\program files\omniback\bin\omnimm.exe" omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001What I would like to know is how can the above action be incooperated to the exe file when it is executed?

Answer:command line

combine the line.eg.echo offstart "C:\Program Files\omniback\bin\omnimm.exe -repository_barcode_scan HP:UHDL-LTO_eilrhmw001"that should be what you need (tested on XP SP2, works for me)

1 more replies
Relevance 104.96%
Question: command line

Hi Everyone...When I go to my computer and hit start button then the run button and type in 'ipconfig' or 'config' and some times other commands the screen comes up just for a spilt second and then it disappears. Now I have been in my registry trying to tweak my computer using blackviper.com tweak XP. I don't know if this has anything to do with but its the last thing I have done. I not sure when this started either. I run windows XP Pro sp 3 and its running pretty good right now. But something is wrong and I not sure where to start so if this makes any sense to someone I need some advice Please....and thanks tooLeRoyjoeEdit: Moved topic from XP to the more appropriate forum. ~ Animal

Answer:command line

open a command prompt window first
type cmd and then hit enter, and the command prompt window should open and any commands you now type wont disappear

2 more replies
Relevance 104.96%

Ok short version first

I need to find a way to put the output of one program into the command line of another.

Dates.exe -> 6-3-2005
Zip %dates%.zip *.html
output into 6-3-2005.zip
is basicly what I want to do

If that doesn't make sence heres the long version

I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.

If anyonw can help please do.

Answer:Need some command line help

anyone?

4 more replies
Relevance 104.96%
Question: command line

Dear TS,

Currently I am working in access, fine tuning a little database.
In this little proggie I have made a button that directly links to a .bat-file that does nothing but open the folder H:/foto (Dutch)

In that folder are several kinds of criminal offenses.

It works like this for the user:

They click the photo-button, the folder opens and they will find by manual search the picture corresponding to the crime report. the pictures in that folder are ordered in sub-categories for a clear view.

What I'd d like to achieve is that the security-officials ONLY type something like "stepped on no-stepping-on-grass-sign" in a text bar and that they then click the photo-button and the H:/foto/stepped on no-stepping-on-grass-sign folder opens.

I know the idea of typing (part of a) directory and then press a button is just as lame as just viewing a folder that has only 25 sub folders anyway, but it's just what the security-officials want...

Thank you very much for your attention and help,

sincerely,

Meneer Geerts.
 

Answer:command line

I have an idea...don't know if it would work. Make a table in access; query to search the table on the partial name; attribute in the table is the full directory name or even the entire command line string. Put this on a macro that sends the result of the query to the command line?
lika2know
 

2 more replies
Relevance 104.96%

Wiondows XP has lost startup files. What is command line to copy all these files back onto machine for startup? And what is the complete set of files needed? thanks.

More replies
Relevance 104.96%
Question: DEL command line

If I have created a new folder on my C: file and named it: "Odd Bods" for example.

Using the DEL Command Prompt in XP, what is the exact syntax to forcibly delete it?

I have tried by opening the Command Prompt and typing in "CD \" then enter to bring up the cursor "C:\>". Then I have typed: "Del /F Odd Bods" and "enter". The message then comes up; "Are you sure? y/n". I then type: "y" and enter, but the folder is not deleted.

Help!
 

Answer:DEL command line

If folder is on desktop:

Start
Run
Enter 'cmd /k' (no quotes)
Enter 'cd\' (will get you the C:\ prompt)
Enter 'cd\Documents and Settings\{your user name}\Desktop'
Enter 'dir /w'


If you can see the item, Enter 'erase [filename]'

del [filename] also works - for a directory (maybe folders too) RD [directory] works


edit: if you do the Start, run, cmd /k thing then type 'help' you'll get a list of the limited MSDOS commands remaining in the poor excuse for DOS XP supports.

For details on those, type, for example, 'help del' and you'll get the possible options.
 

8 more replies
Relevance 104.96%

How can I turn something like this:
[HKEY_CLASSES_ROOT\https\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00

into a Reg add command?

I need to turn a series of reg edits into a .bat to run, and am a little confused on how to convert between the two formats.

The original I have is from a .reg edit file, and I need to convert the keys to a .bat/ .cmd

Thanks!
 

Answer:Command Line Reg help

8 more replies
Relevance 104.96%
Question: DOS Command Line

Hi there-

Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space.

So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with filenames in the following format :-

Henry Rider Haggard (Victorian Novelist, Africa Hand) [Title of Short Story/Novel/Graphic Novel].???

As :-

a) I do happen to know who H Rider Haggard is (having read my first book of his 55 years ago when I was Ten)
b) All the Files are going to go into a Directory (Folder) Entitled "Henry Rider Haggard" (in case I suddenly get struck down with Oldtimer's disease)

then I want to get rid of the words "Henry Rider Haggard (Victorian Novelist, Africa Hand)" which is common to every Filename.

My latest attempt at a Command Line blanket change from within the Folder (Directory) was the DOS command -

REN "Henry Rider Haggard (Victorian Novelist, Africa Hand)"*.??? *.???

I have also tried :-

Using the different extensions (.CBR .ZIP .RAR etc ) to change them 20 or 30 at a time
Using the same Format but *.* instead of *.???
Using no Inverted Commas on the part of the Description that I want to get rid of

Yes, I DO realise that in the time I have spent fiddling about with Command Line and composing this Post I COULD have done the whole thing Manually, BUT I have Sixty Five separate Authors to create Directories (Folders)... Read more

Answer:DOS Command Line

There is no such thing as Dos. Dos went the way of the Dodo bird, after 98 died. You have a Command window, that you can do certain things in. But what you are wanting to do, I am lost. It sounds like you are telling a story, not asking a question.

If you want to change a file name, you do it from Explorer in the Desktop. If you want to edit a file, you do it from what ever program was used to create the file.

44 more replies
Relevance 104.96%

I want to store >> into a SET variable.

Normally, I would do this:
Code:
SET VARIABLE=>>
However this returns an error.

How can I store >> without using quotation marks?

It needs to be >> in order for my script to work correctly?

Hope you guys can help.

Thanks.
 

Answer:SET command in Command Line

10 more replies
Relevance 104.96%

... display an HTML file in the command prompt?

I know I've seen it before...

You go into command prompt, give the command or commands, and it would display the html file... obviously as text, with some information before it and so forth.

Does anyone know what it is/how to do it? I can't remember where I saw it and I can't remember how to do it...
 

Answer:Command line command to...

type filename.txt or in your case, type filename.html
 

9 more replies
Relevance 104.14%

I have a utility I run on some customers' machines that requires being run from safe mode. I already have the utility automated via batch, and would like to just run one SFX app and move on to the next machine, knowing that this app will reboot the machine into safe mode w/ command prompt, run my utility, and reboot the machine back into normal mode (the standard shutdown -r -t 01 is easy enough, but there are no modal options!). Also, if this can be done, how would I then make sure that the current user logs in automatically, rather than have safe mode stop at the log-in screen?

The utility in question is a simple "Common Software Package" which includes some software such as Reader and Flash. Some of the software included cannot be installed while an antivirus is running (at least any that have tamper-protection) due to the registry editing involved, but are completely positive in nature (one such software package simply checks the current registry vs. a backup it takes on each shutdown to look for any discrepancies, adjusted for installed software, of course). The packages do not require Windows Installer service to be running, so I have found SM w/ CP to be the best option.

Any help with this would be appreciated.

More replies