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?
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.
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.
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.
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.
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?
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.
I've been reading a lot on the internet about vista problems, errors, etc. and one of the first checks someone tells the OP is run sfc. Well more than likely if they are posting in a forum asking for help, they don't know how to do it, or what it does. That's the main batch file I made, I also made one to show wireless signal strength, one to defrag the hard drive, and one to clear the dns cache. I know its not much but I'm just trying to help some of the folks that dont know vista so well and are having a hard time... I'm working on some finishing touches so they look nice then I'm zipping them up and posting them here
My company installs our software on about 50 computers a day. Included with that install is a remote-login software. In order for everything to work properly, we have to make a user, elevate that user to administrator, hide the user, and set power settings correctly. In xp, this is no problem, and up until now, we've required our clients have 2000 or xp. As vista is now over a year old, we're adding support for it too.
My problem is that the batch file I've written to handle adding a user and setting the computer properly requires administrative rights (see 'add user'). Everything I've read says something along the lines of 'right click, run as administrator' or 'to turn off uac, do this.' These are not options for me. The people installing this software are usually about computer savy as my grandmother, so I can't have them performing extra steps beyond 'click here. this pops up. click here. this happens. click here.' I'm ok with with boxes popping up asking for permission, but I can't assume they'll understand right-click. I need to know how to raise my permission level from the command line. I need to be able to do this on any computer, no matter the computer name, administrator name, etc.
For many years I have been using a batch file to back up files later than a specific date to a temporary directory. I then copy them to an external hard drive. My new computer has Vista business. I am unable to get the batch file to work. Would someone please help?
Old version call xcopy c:docume~1mikeha~1mydocu~1*.* C: emp3 /f /d:06-03-2008 /i /s
New version call xcopy c:usersmikehdocuments*.* C: emp3 /f /d:06-03-2008 /i /s
I've got a Dell D830 with Vista Ultimate 32-bit pre-installed. It's got the max 4GB of RAM installed. I do not yet own any software or hardware which claims it can benefit from 64-bit so what are the advantages? I will not be doing any gaming but I will be doing a lot of batch processing of camera RAW files with Photoshop CS3. The guys in the Photoshop forum said there is no benefit really unless I was able to load more RAM.
I have a domain with several Vista boxen with users who are local Admins but not Domain Admins (accomplished using Restricted Groups). I need to ensure that these users do not disable User Account Control on their machines as I am sure they will be tempted to do so. Is there a way I can do this (perhaps through Group Policy)?
I found several UAC-related settings and enforced them, but nothing stops them from disabling it entirely. Is there anything I can do besides the obvious choice of not granting them Administrative privileges?
I have an annoying problem. I use my Vista PC for image editing and organization. I browse to these files quite often, and they are arranged in a very hierarchical directory structure with folders on top of folders to keep everything nice and neat.
Many times, I will need to perform an edit that I require assistance from the internet on. So I fireup my trusty browser, drop down what I expect to be the internet browsing history to visit a trusty resource that I recently visited, only to find that my @#%@^%ing local browsing history has almost completely populated this list. Check it out:.........
I cannot work out how to prevent Vista from logging the user out after a period on no activity. I have set power control to Never and screen saver to none. It's the logout that is still happening, not screen saver or power down. I am remote-controlling a Vista Home Basic 32 machine from an XP sp2 machine (Home: no Remote Admin). I am using LogMeIn to do this. Vista machine does not seem to recognise my activities, so that every few minutes it logs me out. This also disconnects the remote connection (and actually disconnected _my_ VOIP phone connection at the same time in a couple of instances! It did not just hang me up. I lost the dial tone and had to cycle my router). Also when the remote Vista user logs back in (I can't do it because I am now disconnected) their network and internet connection has to reconnect all over again.
I keep getting this message when attempting to uninstall Java v13. I am already the administrator. How do I get rid of this assinine message and uninstall my program? Clicking on the message box shows this message:
You do not have sufficient access to uninstall Java(TM)6 Update 13. Please contact your system administrator. How do I contact myself?
Windows Vista won't start up anymore. Various problems occur during the start up that prevent it from starting up. It occurred around 3pm or 4pm today when i was just on the internet and talking with my friend on MSN and then BAM! BSOD! The PC rebooted itself and came back up, but then it began giving me a looping 'windows explorer.exe has stopped working' error. So I rebooted again.
I tried Last known good configuration and it didn't work. Gives me a flashing BSOD and the PC restarts itself. Attempts to boot into normal mode sometimes brings BSOD and sometimes just stays black before the circular Windows vista logo that should appear.......
How can I stop emails from being deleted from the BT internet webserver after they have transferred to Windows mail? There used to be a setting in Outlook which would leave emails on the BT internet webserver for, say, 30 days... but I can't find this setting in Windows mail?
I installed SRS Audio Soundbox on my HP laptop running vista ultimate with Realtek HD audio. It installed a audio device of its own, which I can select under control panel->sound. SRS Soundbox panel is set to start with windows. But I only want to use SRS to process audio coming out of Zoom-Player, so I have setup Zoom Player to use this audio device instead of default Realtek. My problem is that everytime laptop restarts or wakes from sleep (essentially everytime SRS's control panel starts), SRS makes itself the default audio device, which I have to go and change back to Realtek. Is there a way I could lock-up the default device, so it wouldn't change?? or do something else so that Realtek stays the default audio device.
I run the Asus AI prpgram on startup. This is supposed to allow me to modify motherboard and CPU settings. However Defender will always prevent this program from running. There not appear to be any way to tell defender to stop blocking this program at startup.
Today I had a need to find some questions and responses that I'd sent to and received from, some of the MS newsgroups (including this one). It seems that Vista Mail has auto-magically deleted a large number of old newsgroup messages that I had previously downloaded to my machine, so I've lost that history. I've been through all the dialog boxes I could find and I cannot find any "delete downloaded news messages after ...." option. Odder still, if I use the Mail search tool to find messages, it finds some. If I then go back to the message viewer, that gets refreshed and the search "hits" disappear from the found items dialog. Are old messages actually being deleted from the MS servers somewhere and my local cache is then being kept up to date by deleting the old messages? So the question is, "How do I prevent Vista Mail from deleting old newsgroup messages?".
how to change settings to NOT have everyone who is cc'd in on something automatically added to my address book? I have hundreds of email addresses of people I don't know or want to know. Bonus points: tell me how to fix this in both (old) Outlook Express and in (new) Windows Mail.
I have a bunch of loose mp3s (i.e. not the entire albums, just a few tracks from particular albums) grouped into folders based on genre. They have blank album tags. How can I prevent WMP11 from assigning album tags to these mp3 and downloading album art. I have every possible check box involved in media updating unchecked. Among my 20 or so genre folders, WMP only seems to modify the files in a few of the folders. The artist and title tags are correct so it looks like WMP is trying to add missing information. Is there a registry hack that essentially turns off the ability of WMP to do any file modification? I've tried deleting the database and rescanning the library. My only option right now is to simply not start WMP.