Search found 9 matches
- 14 Jan 2014 02:30
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
Do you want something like this? ( echo [InternetShortcut] echo URL=http://%computername% ) > xxxurl.url It seems strange, as you seem to know, how to create such a file. penpen I cant use the variable i need to grab the actual hostname and save it in the file, this is what i want the script to do ...
- 14 Jan 2014 02:25
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
I'm installing a program that have a builtin webserver on computer 1 at a store that store has 9 other client computers these 9 client have a drive mapped to the server \\computer1\x in share x i have saved the file xxxx.url that targets \\computer1\xxx:8081 when a user that uses a cliemt clicks on ...
- 13 Jan 2014 09:07
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
C:\>echo %computername% >>xxxurl.url but i want to specify where in the text file it should be pasted
Hope you understand what and where i'm going with this
Hope you understand what and where i'm going with this

- 13 Jan 2014 08:46
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
yes but then i have 179 other server with diffrent hostname i want to modify this .url file with
if i put it this way
can i grab what the command echo %computername% outputs in cmd and past it into a text file and replace a certain word in a text file?
if i put it this way
can i grab what the command echo %computername% outputs in cmd and past it into a text file and replace a certain word in a text file?
- 13 Jan 2014 07:59
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
I dont want to use localhost i want to grab the hostname of the computer and paste that into the .url file i get if i type %computername% in cmd i get this C:\>echo %computername% ANTDT001 i want to grab ANTDT001 and paste that into my .url file can this be done with a batchscript? so it replaces wh...
- 13 Jan 2014 07:08
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
if i edit the favorite xxx.url
[InternetShortcut]
URL=http://locahost/xxxx:8081
can i grab the hostname %computername% and paste it into the url? with a .bat script or any other metode vbs
[InternetShortcut]
URL=http://locahost/xxxx:8081
can i grab the hostname %computername% and paste it into the url? with a .bat script or any other metode vbs
- 13 Jan 2014 06:57
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
Yes i have created this file manualy and it works
but i would like to make it automagic
i want to doubleclick on a .bat file and grab hostname on the computer i installed the webserver on and save it as a Favorite
and then i want to share the favorite on a networkshare so other can reach the server
but i would like to make it automagic

i want to doubleclick on a .bat file and grab hostname on the computer i installed the webserver on and save it as a Favorite
and then i want to share the favorite on a networkshare so other can reach the server
- 13 Jan 2014 05:36
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Re: Creating .url file from the %computername%
i'm creating this file on every computer i install a webserver i then want to copy the .url file to another computer on the network so other users can reach the webserver i have about 180 diffrent webservers to do this on so any minutes i can save on each install would be much welcome From the serve...
- 13 Jan 2014 05:19
- Forum: DOS Batch Forum
- Topic: Creating .url file from the %computername%
- Replies: 15
- Views: 9846
Creating .url file from the %computername%
Hello
Is there any way i can create a .url file on a computer using %computername%
i need to grab the actual hostname and paste it into the .url file automatic
so other users can just doubleclick on the file and start working
[InternetShortcut]
URL=http://hostname/xxx:xx
thanks for any help
Is there any way i can create a .url file on a computer using %computername%
i need to grab the actual hostname and paste it into the .url file automatic
so other users can just doubleclick on the file and start working
[InternetShortcut]
URL=http://hostname/xxx:xx
thanks for any help
