Running Batch File In Windows 8.1?
Jul 8, 2014
I accidentally set the file open of .bat files to Notepad. From a link in this forum (How to Restore Default File Extension Type Associations in Windows 8 and 8.1)was able to reset the registry back I think. The bat file not longer asks for notepad but instead opens "How do you want to open this file" and ask me to look for an app. The batch files still do not run.
View 8 Replies
ADVERTISEMENT
Jan 3, 2014
I was browsing around and attempting to build a program with MS-DOS. I can't get the choice command to work in Windows 8, and I have browsed the internet searching for the problem and a solution. It seems that Microsoft has removed Choice from Windows 8 supported commands. Is there any way possible I can make this work? I also own a Windows XP desktop and I can make the codes on it, but I can't get them to run on Windows 8?
View 1 Replies
View Related
Aug 20, 2013
I'm trying to create a NETSH batch file that sets my TCP/IP settings to DHCP.
The line I want to use is:
netsh interface ipv4 set address name="My Custom Named Network" dhcp
If I run the global cmd prompt and paste this line, it works as intended. However, if I create a batch file with the same line, I get "The filename, directory name, or volume label syntax is incorrect".This is bugging me plenty.
View 9 Replies
View Related
Feb 4, 2013
New Version (6/2/13)
- Changed name to Connec8
- Compiled as exe. This is for the sole purpose to force Administrator privileges on double click
- New icon
- Administrator privilege check on startup.
- Added option to restart the previous hotspot
- Implemented an easier way to enable Internet sharing
- Added blank lines for better readability
Download (dropbox) [URL] ....
Windows 8 is awesome. However it doesn't have the ability to create ad-hoc networks from Network and sharing center. The only way is to use netsh utility from CMD every time you want to start or stop your network. .
So I created a batch file to automate this process. All you have to do is to start it as administrator, follow the instructions and voila!. No need to open cmd again and again
This utility creates an adhoc network. You can use it for streaming Videos and Music or playing LAN games.
For Internet sharing aka Hotspot
Go to Network and Sharing Center –> Change adapter settings
Right click on the device which is connected to internet and select Proerties
Now, open Sharing tab, enable Allow other network users to connect through this computer’s Internet connection, and then choose the newly created ad-hoc connection from the list
View 1 Replies
View Related
Nov 9, 2012
Since Windows 8 is not creating System Restore points, apparently because I have a dual boot Windows 8 / Windows 7 setup, I'd like to schedule one every 3-4 days or so.
Is there any way to run system restore from Command line or batch file or Powershell? If so then I could schedule it to run when I want.
View 1 Replies
View Related
Dec 20, 2013
I have been trying to add a .exe file to my Startup files. But for some reason the file does not run at the start up.Take a look at the screenshot to see the setup. cW8oETE.png
The paths which I did use are:
C:UsersDyonAppDataRoamingMicrosoftWindowsSt art MenuProgramsStartup
C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup
Is there another way to add files to the Windows 8.1 Startup files? I have done some research on Google but did not find anything.I have also tried adding a key to the register which did not work either.For the registery I have used both using the direct .exe and the .lnk file. wYMGhdU.png
View 4 Replies
View Related
Jun 3, 2014
I have a Lenovo laptop running Windows 8.1. I run a number of VB6 programs. One is an estimating system that makes use of .dat files. When I first install the program and the files, everything works fine.
The problem comes when I 'over-write' a .dat file with a newer version, with some basic cost changes (the file updated on a different computer which contains VB6). As I 'paste' from a USB stick it asks if I want to over-write, which I obviously agree to.
However, as I run the program, I still appear to be using data from the previous file! The latest update figures are ignored.
To check this out further, I have even deleted (removed completely) the .dat file from the appropriate directory, but when running the program it still inputs data from the original file.
This leads me to believe there must be another copy of the file open somewhere (hence the phantom!), possibly as a 'last used' reference.
I have been on to the taskbar and ensured I have unchecked the two boxes about retaining files etc.
View 1 Replies
View Related
Jan 14, 2013
I am using windows 8 pro with two users one of which is administrator. The problem is that when i am in the other account (non administrator) i am unable to install anything in it.
As soon i run an .exe file , i get the error ""The extended attributes are inconsistent"" on googling, i found that it can be resolved by disabling the sound of UAC but this didn't work for me.
A screenshot of the error is :
And for registrybooster.exe it is slightly different :
View 4 Replies
View Related
Jun 14, 2014
I am attempting to write a batch script that uses a program called Mailsend to send an email. The script then examines Mailsend's log output to determine if the email was successfully sent.
This is what I have so far:
Code: mailsend1.17b14.exe -to <snip personal info> -log temp.txt -attach test.txt.TailTail -1 temp.txt > temp2.txtDel temp.txtSet /p Message=<temp2.txtSet Message=%Message:~26%Set Cmess=Mail sent successfullyEcho %Message%Echo %Cmess%If "Message"=="Cmess" ( Echo Correct ) Else ( Echo Wrong )
Here is a rundown of what I am doing:
-The first line sends the email.
- The second and third use a program called Tail to delete all lines except the last one from the log file (the last line contains the output I'm looking for).
-The next 2 lines then assign the contents of the log file to a variable then truncate the first 26 characters (date and time info that I don't need).
-The next line creates a second variable that contains the desired output (i.e. "Mail sent successfully")
-The next two lines echos the contents of the variables.
-And finally, the last line compares the two variable and takes a particular action depending on whether the two variables are equal or not.
The comparison at the end is where I'm having problems. Every time I run the script, the last line I get printed on the screen is "Wrong" (i.e. the "Echo Wrong" command is executed meaning "Message" does not equal "Cmess"). This happens even when the email was sent successfully. I've tried various things and I haven't managed to get the "Echo Correct" command to ever execute, even when the output of the two Echo commands just before is exactly the same. I've even tried changing the "Set Cmess" line to:
Code: Set /p Cmess=<temp2.txt Set Cmess=%Cmess:~26%
And the output for the comparison is still "wrong". I can only think that there must be something wrong with how I structured the comparison.
How to get this script to work or script means of checking the log file for "Mail sent successfully"? This is what the log file contains if an email gets sent successfully:
Code: 07-Jun-2014 08:17:28.172: mailsend v@(#) mailsend v1.17b1407-Jun-2014 08:17:33.011: Mail sent successfully
View 6 Replies
View Related
Jun 10, 2013
I have: x4 .gif images, x14 .jpg images, and x5 .png images in my Code: C:UsersSampleUserDownloadsimg14
folder and want to move them to these desired locations via cmd.
Move the x4 .gif images to: Code: C:UsersSampleUserDownloadsimg14.gif
Move the x14 .jpg images to: Code: C:UsersSampleUserDownloadsimg14.jpg
Move the x5 .png images to: Code: C:UsersSampleUserDownloadsimg14.png
Any way I can go about this using a single command? Multiple commands will work just fine as well, as long it's not one too many commands.
OS: Windows 8 Enterprise x64
View 4 Replies
View Related
Jun 22, 2014
First let me say, I rarely leave my 8.1 system running all night as I generally switch off before bed.
On the FEW occasions I leave the system running all night I always get the "Your computer is low on memory" warning.
For instance, yesterday my software RAID mirror was "Re-synchronizing" and I wanted it to complete syncing so I left it running. NOTHING was running except Disk Manager. I closed down everything else. No browser, no Skype, no directory utility, no paint, no uTorrent....
Sure enough when I woke up this morning there it was....
A few days ago I wanted a couple of torrents to keep downloading so I kept the desktop running. Again NOTHING else was running and in the morning there it was....
I have 16Gb of memory and my pagefile.sys is 42Gb. My OS disc is a 250Gb SSD. I have set my system to hibernate after 5 hours idle. I have set the screen/display to sleep after 30 minutes.
The system isn't asleep when I wake as moving the mouse immediately brings the display back on line. Checking Task Manager shows NO memory hogs.
What I suspect is after 5 hours the hibernation process denies access to memory requests or something?
The strange thing is millions of people on 8.1 must leave their systems running all night but I have seen no mention of this behaviour.
View 9 Replies
View Related
Feb 9, 2013
I don't know how I did it but I got both Windows 7 File Recovery and Windows 8 File History active at the same time. I upgraded from Win 7 to 8 Pro and transferred settings so win 7 file recovery was already active, when I tried to turn on win 8 file recovery I got a message saying I cant because win 7 FR was active. So I deactivated win 7 FR then activated win 8 FR, for giggles I went back and turned on win 7 FR and it worked. Now I have both active, from what I have read this was not possible. Did I break my OS or am I just lucky?
View 3 Replies
View Related
Oct 30, 2013
In Windows 8.0 File History, it had the nasty habit of duplicating your library files on your backup ( in my case, my external USB backup drive ( Replica 2 Terabyte ). By DUPLICATING, I mean they get copied over and over and over again... This happens to ALL of them, even though you have not touched the majority of them for YEARS. (File History is suppose to copy them over the FIRST time, then copy a new copy with a new name (old name plus date) if you edit the file in any way). I turned of file indexing on ALL my drives, except my C: drive, to see if that would stop it ( this is recommended in many threads on other sites ).
View 1 Replies
View Related
Dec 18, 2012
I tried searching it on Google but didn't find anything, the backup file created in XP and Win7 is saved with .bkf file extension,
I want to know the same for the file history in Windows 8, what's the extension or the files are simply saved in the same directory structure with same file extensions as originals,
View 3 Replies
View Related
Nov 29, 2012
I recently got windows 8. But I am not sure what bit and processor I have? This is an image of what i have and the system properties dialog.
View 4 Replies
View Related
May 14, 2014
Turned the PC on this morning and all my files (audio , picture and video) now have the file type at the end of the file name so instead of cars42 it reads cars42.mpg same for all other file types, Why?
Also, had 2 new desktop icons "Desktop.ini" which open in wordpad as some directory log. But now every folder now contains a desktop.ini file some have thumbs.db file. Also, "This PC" has several device driver icons appeared which are empty but ask for a disc to be inserted, they read ie: CF/MD (E and SM/xD (F, aswell as a G: and H: ...
I have not changed any file specs, it just appeared today. I have many thousand files and need them to be short for work, i don't want the added .mpg,.jpg, .mp3 etc added. Do i just system restore? How did this all happen though, Was it an update? Also, Another seperate issue my PC takes several minutes to shut down though this has happened for most of the time i've had this PC which is only 3 months.
Using Windows 8.1 on XPS 8700, how do i solve it? how to prevent it?
View 5 Replies
View Related
Apr 27, 2014
My Windows 8.1 PC is fully updated.
I do not have any Hard Drives or Partitions set to be searched in the Drive Properties dialogue box, so why is Searchindexer running all the time and using RAM?
View 4 Replies
View Related
Sep 15, 2011
how to get Windows 8 running properly on a MacBook Pro (or in general any Mac that supports BootCamp).
Everything runs kind of smoothly, except since Apple doesn't "Officially Support" Windows 8, out of the gate I wasn't able to get a few things working. Unfortunately, the driver disc that Apple provides to you doesn't install officially because I was "not running Windows 7."
I am using a MacBook Pro, early 2010. 2.4ghz Core2Duo, 4gb of RAM and a 1tb HDD.
Not working
Volume Buttons
Brightness Buttons
Eject button
2-Finger Scroll
I'll update later once I am out of class, but those are some things I've run into.
View 9 Replies
View Related
Dec 13, 2013
Running Windows 8.1 and apps are not working. They were perfectly fine this morning, then later today, every one of them, except like two that I know of, IE and the Store. Other than that, music, Facebook, twitter, dropbox, etc. they're not working.
I've refreshed my Windows 8, didn't fix it. I've also done sfc /scannow and it found nothing wrong.
View 3 Replies
View Related
Feb 7, 2013
I have window8 OS installed on my laptop. Whenever i compile C++ code it comes with error message g++.exe has stopped working. I want to resolve this issue. I am using DEV C++ compiler to run C++ code.
View 10 Replies
View Related
Nov 27, 2013
System Info Utility version 1.0.0.2
OS Version: Microsoft Windows 8.1 Pro, 64 bit
Processor: Pentium(R) Dual-Core CPU E5700 @ 3.00GHz, Intel64 Family 6 Model 23 Stepping 10
Processor Count: 2
RAM: 3036 Mb
Graphics Card: Intel(R) G45/G43 Express Chipset (Microsoft Corporation - WDDM 1.1)
Hard Drives: C: Total - 465180 MB, Free - 401811 MB;
Motherboard: Dell Inc., 018D1Y
Antivirus: Windows Defender, Disabled
I discovered that IE (user) - probably 10 as I'm sure I have that - is running in the background and preventing my computer from going to sleep.
View 4 Replies
View Related
May 29, 2014
The attrib +s +h command that is used to make a file a system and hidden file is no longer working. When i try to use the command on a folder, the folder just shows up as a normal hidden folder which can be easily viewed using show hidden items in view option. It looks as if every system file is not recognizing itself as a system file.
Also every folder in my system has appeared a desktop.ini and thumbs.db folder.
I am running Windows 8- 64 bit
View 1 Replies
View Related
Feb 3, 2014
How to make the 'Libraries' folder structure appear when doing a file open file save. In both case I can see the folders labeled Desktop, Documents, Downloads, etc. but I cannot see the Libraries folder.
Is this possible? How?
View 10 Replies
View Related
Apr 3, 2014
Is there anything I can do to fix this, last thing I would want to do is go back to windows 7. Games run slow in windowed mode with occasional jumpiness and in full screen they become so slow till the point it's unplayable.
View 9 Replies
View Related
Jan 6, 2013
I have a asus k53s that i recently upgrade to Windows 8 (from w7). Sometimes when i leave the laptop on but don't use it(idle), the fan will be constantly on even if its not doing anything like running a virus scan, and the screen will also shutdown going completly black. I can't move the mouse or press keys to "wake" the computer and i have to reboot the computer by pressing the power button.
.I have everything updated with the latest drivers, so i really don't understand the reason for this.
View 6 Replies
View Related
Oct 29, 2012
I'm running into a really annoying issue after upgrading from Windows 7 to Windows 8.
I first noticed it during the initial (clean) install; when the installer tried to reboot, my machine (an acer aspire 4755G) just hung after the initial shutdown. That is, after the screen turns off, the power lights and fans are still running, and the machine itself doesn't restart. (I let it sit for a good 15 minutes, and it still didn't change).
I managed to do a hard reset (power button for 5 seconds) and the install finished, but every shutdown/restart has been like that. Interestingly enough, hibernate works just fine.
I've looked at other solutions where it said to use the "bcdedit /set disabledynamictick yes" command, and that didn't work.
I also turned off the "Fast Boot" option in the power settings menu. That didn't work either. So far, the only option is to do the hard shut down by holding down the power button, but that proves to be horribly inconvenient.
I've also updated all my drivers to the proprietary onces given by Acer, yet this problem still persists! It worked fine on Windows 7, so I'm not sure what went wrong here.
View 9 Replies
View Related
Aug 22, 2013
What has happened is that when I first started up my laptop this morning, it seems the audio is disabled. Along with this, the wireless connection is also disabled. Windows attempts to fix both of these problems, but only fixes the wireless. I've restarted multiple times to no avail, and each time, the wireless connection must be fixed by Windows. I've had this laptop for about a month, nothing has ever gone wrong.
when I go on Youtube, every video I attempt to watch stutters around for the first few seconds and/or goes directly to an error screen. I'm sure this has to be something with flash or something in general, considering it just started occurring with these other problems. I'm hoping I won't have to backup files and restore the laptop to the factory default, I was an idiot and deleted the only system restore point I had from a few days ago. I completely forgot system restore points only effect installed programs and Windows files.
Here is some more specific information towards my audio problem -
This is what happens when I attempt to start Windows Audio in Services.
View 8 Replies
View Related
Mar 13, 2014
I've been having a big problem in that my computer kept crashing with a BSOD, usually related to ndis.sys. I tried removing all the drivers and reinstalling with the latest. Same problem. My PC manufacturer sent me a replacement network card. Same problem. After reading various things online, I suspected that openvpn might be a problem so I uninstalled it. No more crashes since.
Obviously I want to be able to use my VPN. I tried setting it up through the network and sharing center but I get error messages when I try to connect.
I can't run the tool as I've uninstalled OpenVPN, although I guess I can reinstall .
I tried to attach a couple of minidump files, but it wouldn't let me.
I'm running Windows 8.1 on a fairly high speced laptop. I have a killer networks network card and I'm connecting over wifi.
I also have avast internet security installed, but as I say, as soon as I uninstalled openvpn and the other Private Internet Access files the problem stopped.
View 5 Replies
View Related
Aug 16, 2014
This may be related to the recent Windows update.
Just recently, I noticed that, sometimes, I had to click an application twice to start it.
At first, I attributed it to typos, but when it happened quite a few times, I investigated.
I saw that Task Manager showed the application running, but there was no window on the desktop.
The application doesn't matter and it's not easily reproducible - happens once or twice a day at random.
Odd.
I'll be a bit more vigilant now that I noticed it and see if I can track it down better (32-bit or 64-bit apps, for example). The last one was a 32-bit application. And I started two applications in rapid succession.
(I'm on 64-bit 8.1).
View 5 Replies
View Related
Jul 3, 2014
(I am running 8.1 on an MSI GT60 2OC). Everything will be fine for a good while and at some point when I switch to the start menu after scrolling my mouse out of the bottom left corner and off of the start button, the task bar and start button will drop down and dispensary like it should. However when I scroll over the corner again, it doesn't pop back up, I cant swipe up or down for my charms bar on the right or see my running apps on the left everything is unaccessible. It can be fixed temporary by re logging but its only a matter of time before it happens again. I have done many hd wipes and re-installations to resolve this issue. Nothing works.
I have some apps installed and some drivers. I also did a bios update and some firmware updated and at this point I am thinking it may be them. I cant clean boot to troubleshoot because sometimes the bug wont show up for a whole day. Im a new win 8 user. 1 weird thing I noticed was that like my problem also had Revo Uninstaller on their computer, a program that I also have installed..
View 6 Replies
View Related
Jun 16, 2014
I just totally lost the sound of my laptop running on Windows 8. It was okay yesterday and the only thing I did today was checked my email and noticed I kept getting full page of junk ads like your software is outdated, need to update whatever... etc. etc. I ran malwarebytes and avg and found nothing. I ran these also yesterday. Checked my connections ok, and volume not muted.... Where did the sound go? My laptop is only 6 months old.....
View 2 Replies
View Related