Search found 16 matches

by Padd007
28 Jun 2016 08:09
Forum: DOS Batch Forum
Topic: Batch file to edit another batch not work correctly
Replies: 6
Views: 5949

Re: Batch file to edit another batch not work correctly

I have this working now, turns out the delay served no purpose as was suggested so I removed it. I went the route I did because I am not familiar with batch files and I have basically copied and pasted bits from around the internet. Didn't know how to do it any other way :)
by Padd007
24 Jun 2016 08:06
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

The macro did the trick, autoit did exactly what I needed it to do.
Thanks for all the help guys :)

Regards
by Padd007
24 Jun 2016 05:45
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

That sounds logical, thankyou
by Padd007
24 Jun 2016 02:51
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

Not tried this yet but was thinking. Can send the value of %ID% over to a macro so that it inserts the right ID?
by Padd007
24 Jun 2016 02:42
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

I didn't even think of trying a macro, seems so obvious now lol. I think that is the way to go with this, I shall give it a go and let you know how it goes. Thanks for the help guys :)
by Padd007
23 Jun 2016 03:41
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

Thought I would attach this for clarification, trying to change the user and uncheck "Prompt for name..." from a batch file. What is the target path and executable in the EAAMB shortcut on the desktop? https://s31.postimg.org/409wln593/scrnshot2.png "{BA126AD7-2166-11D1-B1D0-00805FC1...
by Padd007
23 Jun 2016 03:20
Forum: DOS Batch Forum
Topic: Batch file to edit another batch not work correctly
Replies: 6
Views: 5949

Re: Batch file to edit another batch not work correctly

:: . . . call echo %%newline%% >>%newfile% :: . . . The ">NUL" gets lost during the process and I am not sure why. To see what happened, be aware of the of the contents of the newline variable and experiment with something like this on a Command Line: Echo anything >here_it_is.not >>here....
by Padd007
22 Jun 2016 10:45
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

OK, I have found the file, it is in the same location as yours, I have also found lines referring to auto login etc. However my edits have no impact on the dial up settings and it doesn't contain any of my current configuration, in fact removing the file altogether doesn't change anything. So I susp...
by Padd007
22 Jun 2016 08:18
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

Well according to Microsoft's Technet article for the rasdial command, the default path to the phonebook file is systemroot\System32\Ras\username.pbk. That file doesn't seem to exist on this machine, the folder is there and it contains cis.scp, pad.inf, pppmenu.scp and switch.inf. Had a look throug...
by Padd007
22 Jun 2016 08:07
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

Squashman wrote:
Padd007 wrote:This is a 3G PCMCIA card

Well foxidrive's comment still holds true. I can't even remember the last time I have seen a new laptop come with a pcmcia card slot.


Its a Panasonic Toughbook CF-19, its old and rubbish but its what the client wants us to use.
by Padd007
22 Jun 2016 07:37
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

I have tried that, didn't find anything in the registry that matched. I am at a loss with this one :/

I feel that this should be much easier than I am making it though lol
by Padd007
22 Jun 2016 06:13
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

This is a 3G PCMCIA card, however it still uses rasdial.

I cant figure out where it saves its settings, tried capturing registry and ini file changes but didn't have any luck.

I have to do this on 600 laptops and I was hoping to automate the process :)
by Padd007
22 Jun 2016 03:42
Forum: DOS Batch Forum
Topic: Batch file to edit another batch not work correctly
Replies: 6
Views: 5949

Re: Batch file to edit another batch not work correctly

Thankyou i will give that a go.

TBH I am not sure what the purpose of that is, the script was provided by the client and I presumed it was there for a reason. I might try and remove it if it continues to be a problem. :)
by Padd007
21 Jun 2016 05:05
Forum: DOS Batch Forum
Topic: Batch file to edit another batch not work correctly
Replies: 6
Views: 5949

Batch file to edit another batch not work correctly

Hey guys Forgive me for the second post but I am having another problem I cant resolve. I have the following in a batch file: @echo off cls color 0a echo "Contacting XXXXXXX APN" echo "Please wait >>>>>" ping localhost –n 25 >NUL rasdial XXXXX XXXXX\YYYYY XXXXXX I have another ba...
by Padd007
21 Jun 2016 04:07
Forum: DOS Batch Forum
Topic: Batch file to change dialup settings
Replies: 23
Views: 17435

Re: Batch file to change dialup settings

The problem is I cant seem to find a similar solution. I cant find out where windows stores its settings for dialup (presumably in the registry). Ill I want to do is change the default username and disable the logon prompt. If anyone can point me in the right direction that would be awesome. cheers ...