Whats Command To Put In A Batch File That When Exit Is Pressed It

Feb 11, 2009

Whats a command to put in a batch file that when exit is pressed it either wont do anything or it will minimze itself it would be something like

@echo off
if exit /m

then i dont know what else or if thats wrong please another solution!

View 5 Replies


ADVERTISEMENT

How To Make A Batch File On Starting And Stopping Services From Command Prompt?

Aug 12, 2008

how to make a batch file where you could start, disable, stop and manual for a service from the command prompt? for example instead of going to services.msc and right clicking on a service then clicking on properties then making the startup to be manual,automatic or disable. I could do with a batch file where i would just launch the batch file and it would make the startup to manual and then disable the service that i want to disable.

View 9 Replies View Related

Running Batch File

Sep 25, 2009

I am trying to run a batch file in vista as an administrator. I know I can use the RUNAS command, but this prompts me for a password. (and what password is a mystery to me as it's a non domain machine and there isn't a user called administrator, but that's besides the point). What I am looking to do is to replicate the behaviour of Right Clicking on the batch file and clicking 'Run as administrator', then the security box comes up - this is fine, that is EXACTLY what I want to happen. The user already has adminitrator privilages and I understand that I'll never get around the security box coming up - I don't mind this, but I can't seem to find a way of replicating this.

View 8 Replies View Related

Prevent Batch File From Terminating?

Apr 5, 2009

Whenever I write a batch script that provides options using 'if' statements, and input a semicolon, it terminates unexpectedly. Is there a way to prevent this? ~Is there a way I can write the batch file so that it doesn't terminate when I have a semicolon in the input?

View 8 Replies View Related

Batch File Renaming In Vista Doesn't Work!

Mar 23, 2008

To rename a file, you do not need to open the file in a program.

Right-click the file that you want to rename, and then click Rename.

Type the new name, and then press ENTER. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

Tip

You can also rename several files at once. If you give files of the same type the same name, each file will have the same name followed by a different sequential number (such as Renamed File (2), Renamed File (3), and so on). This can be useful for grouping related items. To do this, select all the files you want to rename, and then follow the same steps as you would for renaming an individual file. Each of the files will be saved with the new name, and a different sequential number will be appended automatically to the end of each file name.

View 9 Replies View Related

Batch Script That Will Check To See If A File Exists And Then Delete It

Feb 23, 2009

I'm trying to write a batch script that will check to see if a file exists and then delete it if it does, otherwise display a message...

View 4 Replies View Related

Batch File To Run Prior To Logon (home Premium)

May 8, 2009

how to run a batch file prior to windows logon vista home premium. I have a few problems with my motherboard and my cmos battery is unsoldered and my battery is knackered. At present I have a batch file to set date and time in my startup folder but would like to do it before this as programs are loading and trying to initialise before the correct date and time set, this causes errors.

View 8 Replies View Related

Create Batch File For Multiple Sites To Start

Feb 27, 2010

I'm trying to create a batch file so that I can bring up 2 sites at one time when I open my browser. I use Firefox & IE8. What I have done so far to no avail is created a file as follows and sent to desktop from notepad named test.bat:

without parenthesis in the above. I can get these to open consecutively, same browser window if I have a browser already open. But, not without browser open. How do I connect the 2 sites to open in 2 tabs, same window? I also added them as multi home pages, then sent shortcut to browser to desktop. This does work, but, not what I want.

Is there anyway to create a batch file and have these 2 sites open at start up, by-passing the desktop without clicking to open the browser? Also, I know that clicking on the shortcut to the browser that's on the desktop does slow down the launching process. If there is another way upon start up, will it be slower as well?

View 6 Replies View Related

DOS Command, Print Out As A Word File

Apr 19, 2009

Vista Ultimate - 64 bit. In one of my folders, I have an extensive sub- folder tree which I'd like to print out as a Word file. Here's what I've done:

1. I click Start | Programs | Accessories | Command Prompt
2. Using the CD command, I get to the head folder of the desire sub-folder tree
3. If I then run the command "Tree", the sub-folder tree scrolls by quickly in the desired format - i.e., like a genealogy chart, with lines connecting the various levels.

But if I try to pipe the output to a text or Word file using the command tree>tree.txt or tree>.tree.doc, I get the tree. But the nice lines linking the various levels are replaced by a sequence of bogus characters. The maddening thing is that I was earlier able to get the nice chart into a Word document. But I neglected to record the steps, and can't reproduce them.

View 5 Replies View Related

Closing A Browser, Should You Go To "file" Then "exit"

May 23, 2009

When closing a browser, should you go to "file" then "exit" or can you just go to the upper right hand of the screen and just hit the "X".... and does it make a difference? Someone told me it does, and you should never close it out by using the "X".

View 9 Replies View Related

Command To Remove Entry In Dual Boot File?

Jul 3, 2008

Can anyone tell me the command to remove an entry in the dual boot file. I think it use BCDedit /remove someway but I'm not sure?

View 5 Replies View Related

HP Easy Backup : When Pressed Runs A HP Backup Application

Jul 2, 2008

I have a HP M9200t running Home premium 64 bit that has a "HP Easy Backup" button on the front panel. When pressed, it runs a HP backup application.

View 8 Replies View Related

Whats The Best Way To Go From Vits To XP?

May 18, 2008

What is the best way to go from Vista back to XP? Can I use an upgrade disk or must I purchase the full version for $270? The super-secret DRM file indiv02_64.key once again is crashing Media Center and everything else. I cannot watch TV, watch a DVD, or even watch Netflix online. I know from a previous encounter with MS support that I must wipe out the computer and reinstall. The only DRM content I watch is cable TV, Netflix online and DVDs from Netflix. How can this OS possibly be this fragile? I won't go into what an adventure it was to get Bluetooth to work.

The last time DRM crashed (4 months ago) I had to call MS support, pay $60 and spend 6 hours on the phone just to get a CD key for Vista Ultimate since a total reinstall apparently is the only option. I had done Upgrade Anytime and hence had no key - I instead had a license file which could not be accessed since the desktop was deactivated since I had no CD key. Said my support call charge would be refunded but of course that was a lie. Between the original purchase, upgrade purchase, support call to MS, and now possibly a full-version purchase of XP this will cost me close to $1,000. If MS products fail to function properly, I must pay more money to MS. That's getting old fast.

View 7 Replies View Related

Whats HD Maximum Size ?

Aug 21, 2009

What is the maximum size that can be installed on a computer with Vista 32-bit ? I had to partition my 1.0 TB drive before it was recognized by Vista. I will gladly delete that second partition if the whole HDD can be used with a single enlarged partition

View 4 Replies View Related

FDisk Command Doesn't Work From A Command Line Start

Mar 12, 2009

I am writing to this Forum in desperation because I cannot find any way to get in touch by email with Windows Live OneCare even though I am a paid subscriber. I have NOT had a good experience of MS tech support. After 18 months of endless problems with Windows VISTA Ultimate Edition V 6001 I now wish to reformat my computer and get RID of it altogether, replacing it with System 7 for which I have a serial number and a beta download from the recent Microsoft online download offer.

As VISTA seems to have eleminated DOS altogether and the old FDisk command doesn't work from a command line start, I have tried to reformat from my OEM Vista Ultimate Edition re-installation DVD which I am certain used to offer me reformat and partitioin delete as the first options but that no longer seems to offer me any reformat option at all and not only instists only on re-installing VISTA (which I no longer want) but leaves the old installation in a directory renamed "WindowsOld" which VISTA will then not allow me to delete....

View 4 Replies View Related

Whats You View On Protection And Its Limits

Mar 29, 2009

do think its all bloatware do you think its a conspericy? do you think you can only get through email/download. post your thoughts and feelings on protection and its limits.

View 9 Replies View Related

64 Bit Whats Best Benchmark Performance Check?

Apr 8, 2008

I have built my self a high spec system but I am concerned that all is not set up correctly. what is the best way of putting my system through its paces and seeing all is working correctly?? I only got 4600 points on pcmark vantage

View 6 Replies View Related

Minimize, Maximize, And Exit Button

Sep 17, 2009

So has the window border on the top right of a window (consisting of the minimize, maximize, and exit button).

View 5 Replies View Related

Whats Key On Keyboard To Start Installation?

Oct 30, 2009

I have an operating system stored on a hidden drive (not on a CD, it comes with the computer) on my notebook and wish to install it. During the boot process, you are supposed to press a key on your keyboard to start the installation. The problem is, I can't remember it!

View 4 Replies View Related

Erasing E-mail Blocked On Exit Box?

Apr 16, 2008

I didn't find any mean for erasing an e-mail blocked on the exit box. This results on total blocked exit-deliveries for any other e-mail.

View 4 Replies View Related

This Copy Of Windows Is Not Genuine: Cannot Exit Unless I Press OK

Dec 15, 2008

Almost every time I turn on my laptop and log into my account a screen comes up saying something along the lines of Thank You For Validating Windows. This takes up the whole screen and I cannot exit unless I press OK. After my desktop is fully loaded a message comes up saying that Windows Aero has stopped working, you may be a victim of counterfeiting. There is then a link which takes me to Genuine Microsoft Software. I then run the validation test and pass. Also sometimes there is a message in white writing in the corner of my desktop which says:

Windows Vista (TM)

Build 6001

This copy of Windows is not genuine. My Vista Ultimate is 100% genuine.

View 9 Replies View Related

Whats The Average Temperature For A Geforce 9600 Gt?

Dec 28, 2008

What is the average temprature?? the reason for asking i was thinking of over clocking it a bit with Rivatuner but i dont have much fans only the PSU one case fan holes thats in the case alot a CPU Fan and of course the fan thats on the card right now according to speed fan it always runs at 43c-45c most of the time idk how to check whiles playing games but yeah

View 9 Replies View Related

Whats A Good Registry/& Utility Program For 64?

Jun 9, 2008

you cant search for reviews, they all have Faux reviews flooding the Web

View 5 Replies View Related

CheckDisk: Unable To Exit The Error Check

Apr 15, 2008

Error check on my HP Laptop that has vista home edition. for some reason it froze at 4% in the first stage (1 of 5), at this point i was able to exit the error check by pressing Escape, i went on and defragmented my computer next and did various virus and spyware cleanups, then i decided to do the error check again, this time the same thing happened but now i am unable to exit the error check. so my question is: is there anything i can do on my own or should i send it in to a professional?

View 5 Replies View Related

Maintenance Check Box Allows Automatically Deleting On Exit

Mar 23, 2008

I have just bought a new computer that has Windows Mail installed. I have tried to set the program so that emails I have sent to delete are GONE (deleted) automatically when I exit the program. I have gone into Tools, Options, Advanced and Maintenance and checked the box that allaows for the automatically deletion of emails. I check the box but it does not stay checked and the program does not do what I want it to do.

View 8 Replies View Related

"Open With" Command Disappeared Completely From File Context Menu

Jun 9, 2009

The "open with" command disappeared completely from my file context menu.

The fact is that I cannot have alternate choices of opening media files or any files, cause the command is not there!

So please, if anyone knows, tell me the default command line to edit on my registry...or otherwise please provide me the appropriate solution.

My OS is Vista Home Premium 32 bit.

View 6 Replies View Related

Under "Accessories", I Can Only See Bluetooth File Transfer Wizard, Command Prompt And Run

Aug 26, 2008

Recently I have run some registry programs like RegCure, Registry Mechanic, CCleaner, etc and I'm not sure if it affects my system.

1) Most of my programs in the Start menu are missing. Below are some of the examples:
a) Under "Accessories", I can only see Bluetooth File Transfer Wizard, Command Prompt and Run.
b) Under "Games", I can only see Game Explorer
c) Many programs shortcut like Window Defender, etc are missing.
d) I still do not know what else are missing.

2) Windows take some time to shut down and startup and also running of programs...........

View 9 Replies View Related

Make A Command Prompt Run A Command As Soon As It Opens?

Nov 16, 2008

I've been trying to figure out how to make a command prompt run a command line as soon as the box comes up.

I need this to happen all from one command line. A command prompt needs to open with "echo hi" being ran as a command line.

View 9 Replies View Related

Command Line Ren (Rename) Command Broken?

May 17, 2008

I'm having trouble with the REN command with wild cards as used from the command prompt. For example, in the REN command help, it says: "For example, if you had files that are named smitha.doc, smithb.doc, and smithc.doc, you could use the ren smith*.doc smythe*.doc command. All file names automatically show the new spelling, and are renamed smythea.doc, smytheb.doc, and smythec.doc.".........

View 5 Replies View Related

Windows Mail (winmail.exe) Does Not Terminate Process When Exit

Mar 31, 2008

I'm cross-posting because these 2 problems appeared at the same time (after installing a lot of Windows XP application software) and may be related. I am thinking of laboriously going back through a lot of restore points, but would prefer some insight as to exactly what happened. Windows Vista Ultimate on a Dell D830 with McAfee virus and e-mail protection. For the first week or so, neither problem was present.

(1) Windows Mail (winmail.exe) does not terminate its process when I exit. Thus I can't launch it again unless I either log out and log in again, or manually kill the process. Temporarily turning off McAfee e-mail scanning does not affect this.

(2) Whenever I delete anything from the desktop (whether my own desktop or the All Users desktop), Explorer hangs with a message like "Recycling 1 item...". I hit Cancel and the message box becomes unresponsive. I can still delete items from the desktop using Command Prompt and perhaps also in other ways.

View 6 Replies View Related

Logon As Batch Job

May 19, 2009

I wouldd be happy if anyone tell me about logon as batch job. I want to gain more about a batch job.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved