Batch File Utility To Create Ad-hoc Network
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
ADVERTISEMENT
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
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
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
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
Jul 27, 2013
How do you create a zip file in windows 8? Do you have to download software to do this?
View 6 Replies
View Related
Sep 14, 2013
can i create a bat file and run it as a windows services?
View 9 Replies
View Related
Jul 4, 2014
I tried all ways but i couldnt create a txt file in C I must must have administrator privileges on my C: drive How can i do that?
View 1 Replies
View Related
Aug 1, 2013
Since 2 days ago I've noticed that I cannot create a new folder with File Explorer by any way possible. Using the taskbar or the SHIFT + Ctrl + N. Even when saving projects with Save File as... and trying to use the "New Folder" text string button does not create any folder. Using CMD prompt or powershell all works well as with Total Commander which i only installed to see if it could create folders and it does. Other programs that auto create folders also works well (i.e. Foobar when transcoding to new unavailable folder). My Windows 8 Pro is original, it's a 4 month old install, I've not made any customizations, no registry hacks, Windows is bare apart from Classic Shell which i only use now as a custom button to go to start screen with the mouse. I also made a custom High Contrast Theme that i use at night or when eyes are a bit tired. It's 2 months old so it's there long before the problem.I've not installed any new programs in the last week apart from some updates from FileZilla, Foxit pdf and Notepad++.Last system update is COPICOM from 13 July.I followed this guide which as not resolved the problem: I cannot find a way to create a new folder in Windows 8. -
View 5 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
Jul 19, 2013
I want to create a home network:
modem - Motorola SB 6180, from COX Communication
router - ASUS RT-AC-66U
gigabit switch - TP-LINK TL-SG1005D 10/100/1000Mbps Unmanaged
printer - HP LaserJet Pro 200 color with ethernet port
2 desktops, each running Win 8 Prox64
Cat 6 cables.
Plan A:
Cat 6 cable from modem to router
Cat 6 cable from router to switch
Cat 6 cables from switch to printer and desktops
I think this will give me wifi for my laptop and good connection speed between computers and printer.
View 9 Replies
View Related
Jun 27, 2014
How can i create local WIFI network without having internet access on my pc. This seems to work if I have access to internet but when i disconnect internet connection my PC ( virtual router ) cannot see anymore other devices..
All other devices that are connecting to my virtual hostednetwork are working without any problems expect my pc. What have i missed that my PC where virtual hostednetwork is running cannot see devices in "virtual" network without internet access?
View 3 Replies
View Related
Jan 11, 2013
Does file history also create a restore point?
It was nice to have that restore point to where is you blue screened you could reboot and restore to a recent, previous system state.
Doesn't really say anything in the file history settings page, and I'm curious.
View 14 Replies
View Related
Feb 20, 2013
I am a C# developer. How to write a code to access files on windows 8 using WinRT native
View 1 Replies
View Related
Sep 15, 2014
I'm trying to create a shortcut to "Control PanelNetwork and InternetNetwork Connections". I am not able to. Is there something about going to this folder that is forbidden?" If I have inserted the incorrect path please give me the correct answer.
I am preparing a lesson and a short cut to the adapters will make it easier.
View 4 Replies
View Related
Mar 29, 2014
I am facing several weird problems in my Windows 8.1 installation. My first problem is that when I try to copy/create a file to my C: drive it throws an access violation error.
But this not the case if I copy/create a file in any of sub directories in C:. For example I can copy/create files to system32 or program files with any such problems.
My second problem is that I no longer get a popup when I connect a external HDD to my system. It doesn't even show up in "My Computer" I have to open up disk management and then assign a drive letter to the external HDD then only will it show up in File Explorer.
View 9 Replies
View Related
Nov 10, 2012
I had refresh my win 8 but after that I cant see the Bluetooth file transfer wizard in my start screen. How I can create a icon in my start screen?
View 1 Replies
View Related
Jun 25, 2013
I would like to create a network between my Windows 8 laptop and a headless Linux box. I need to be able to browse an HTML file on my laptop that is being served by the Linux box. Note it is a direct link between the 2 computers; this connection needs to work at times without Internet. How would I create such a system?
View 1 Replies
View Related
Feb 20, 2013
well i created a homegroup for my 4 pc's, but with the last one i get the message that the Revo user changed the password.
A user wanting to join the homegroup cannot change the password......normally.
To restart from scratch, i led everyone leaving the homegroup at least i did that since all 4 hardly are used at one time.
Now the only thing i can do is to join a homegroup, while there is no homegroup....
So i type in a password and get the message "there is no homegroup".
when troubleshooting, i get the message that i did not join a homegroup, thus am no member.
View 9 Replies
View Related
Sep 15, 2014
I'm unable to create a home group. when i try to do so, i'm getting an error message saying "Windows just detected an existing homegroup. To join it, click ok, and then open homegroup in control panel."
But the problem is, i don't have any existing homegroup on my pc. at the same time, there were no any other devices connected to my network. i tried with a pc aswell. but it didn't work, When i try to join, i'm getting an error like,
I'm running on win 8. i tried to clear all files on the folder
"C:WindowsServiceProfilesLocalServiceAppDataRoamingPeerNetworking" and tried restarting the homegroup provider and listener and they were running. And ipv6 is also enabled.
View 1 Replies
View Related
Apr 2, 2013
I have two Windows 8 computers. On one of them (which says "private network"), I easily created a homegroup. On the other (which also says "private network"), I am unable to join the homegroup. Whenever I connect to the network, it searches and says "There is no homegroup on this network" and displays "Create Homegroup" in the Network and Sharing Center. However, when I attempt to create the homegroup, it says "Can't create a homegroup on this computer". If I leave the homegroup on the working computer, it still says "Create Homegroup" in the Network and Sharing Center and I am still unable to create the homegroup. Microsoft has worked on this for five hours and is unable to find a solution.
View 7 Replies
View Related
Dec 21, 2013
I am on 8.1 In my Classic Shell Start Pop-Up I have choices of Control Panel, Devises and Printers, Default Programs, etc. I would like to add "Connect To" but cannot figure out how to do it.
View 3 Replies
View Related
Oct 9, 2013
My problem is the inability to create a new Homegroup. The password I had for the one I created does not work since I left the homegroup. Now the only option available to me it to join a homegroup I have been invited to. I don' t know any user live near that has invited me to join so I think it is my old homegroup but that password is long gone. Now I cant share my videos and music with my xbox. I use an apple airport express that my computer and xbox sign in to but my xbox does not see my computer however, my computer sees my xbox.
View 6 Replies
View Related
Dec 24, 2013
windows 8.0
I was happily using file history, it was backing up to my G partition, which is located on my second hard drive (both drives are internal)but now I get error message:
I think the problem is that this partition got added to my user, that's what the network path shows:
How do I get it out of my user, and back on a normal path?
View 1 Replies
View Related
Sep 30, 2014
When copying 1.2 GB mdb from pc to network, it seems that the copy created in the network is corrupted although I'm not able to tell by looking at the size of the file. Copying a big mdb file from pc to network?
View 1 Replies
View Related
May 21, 2013
So I have the piece of crap PC known as the Archos 9. Never use it anymore because I got a real laptop.
I just bought a WD My passport 1tb hard drive. So I want to use it as an external network drive.
I would leave my Archos 9 in a corner somewhere with the HD connected,with file sharing. It is touchscreen and has only a built in mouse. No keyboard.
How would I be able to set it up? It overheat sometimes and lags like hell. Has no Fan which might make it suitable for being in a dark corner
Any OS's that don't strain the system a lot and are not outdated? I heard of some other OS's that do this really well,with not much power usage.
View 2 Replies
View Related
Jun 18, 2013
Two user accounts, both administrator level. I have a file in my documents that my wife's account can READ but cannot SAVE. I've gone in through User Accounts and given her account full permissions (full control with all the boxes checked), but it always reverts back to her not being able to save any file in my directory.
FWIW, I have all accounts on a separate D: drive. Only windows 8 and programs are on C:.
Also, Read only status. I see the dot (not a check) when I select properties from "my documents". I remove the dot, task window comes up and all the file names whiz by. Then, I look and ... again, the dot is present.
What is the purpose of the dot vs the check mark. They seem to have the identical effect on sub-directories and files within sub-directories.
View 1 Replies
View Related
Feb 4, 2014
I'm having trouble sharing files from my Vista Laptop to my new Win 8.1 laptop. I can get into my shared public folder but nothing else. I want to be able to get at anything in my C drive but it says I don't have permissions. I have a home wireless network but I also hooked them together with an Ethernet cord and both networks are showing.
Last week I was running into a window asking for network credentials on the Vista laptop (but I didn't know what it meant because I never had a password ). This time I see the folders I've shared but can't get into them except Public folder.
View 5 Replies
View Related
Feb 4, 2013
I have just upgraded to Windows 8 pro 64 and having major issues.
I upgraded from win 7 so it kept all my program's and settings. I had my synology ds209 NAS video, music a d download folder mapped to access through file explorer and it all worked perfectly. Since the upgrade I can access music and video fine but not the download folder??
If I try and map it again it does t even see my NAS under network but it appears under computer as a media device!
View 4 Replies
View Related
Aug 18, 2013
I had to buy a new laptop that I could take with me to work, and of course it runs Windows 8 (which I absolutely hate, incidentally). I decided it would be nice if I could share files with my primary computer when I'm at home, which is a desktop running dual-boot Win7 and Ubuntu.
I initially set up a homegroup, but whenever I try to access laptop files from my desktop it always pops up with a "enter network username and password" dialog. I tried looking up solutions to that but so far haven't found anything that works. I made sure the clocks on both computers were the same, and I made sure that all network settings were the same on both, including the setting "do not use user accounts/passwords," but I'm still having the issue.
So, what's the best way for me to share/sync files on my laptop with the desktop's files while I'm at home?
View 7 Replies
View Related