Search found 4 matches

by philo_w
11 Jun 2015 22:35
Forum: DOS Batch Forum
Topic: batch file to run a series of specific commands - beginner
Replies: 7
Views: 3321

Re: batch file to run a series of specific commands - beginn

Ok found this in another forum: Anyway, the working directory is stored in the "%CD%" variable, and the directory where the bat was launched is stored on the argument 0. Then if you want to know the working directory on any computer you can do: @Echo OFF Echo Launch dir: "%~dp0" ...
by philo_w
11 Jun 2015 02:24
Forum: DOS Batch Forum
Topic: batch file to run a series of specific commands - beginner
Replies: 7
Views: 3321

Re: batch file to run a series of specific commands - beginn

but what if she makes a copy and saves it to dropbox, or a USB stick etc? What I do is create interactive children's educational PDFs and sell them to my subscribers on O2O platforms. The majority of my users are your average house mums/wives. Currently I'm only password protecting my PDFs, but I'v...
by philo_w
10 Jun 2015 21:00
Forum: DOS Batch Forum
Topic: batch file to run a series of specific commands - beginner
Replies: 7
Views: 3321

Re: batch file to run a series of specific commands - beginn

Thanks Foxidrive for the response.

Can you please tell me what the code is to do a search command of their entire hard drive?
And once it has found the .pfx file, then what are the run and del commands to run and delete the file?
by philo_w
10 Jun 2015 08:26
Forum: DOS Batch Forum
Topic: batch file to run a series of specific commands - beginner
Replies: 7
Views: 3321

batch file to run a series of specific commands - beginner

First of all, let me start by saying that I have absolutely zero knowledge about coding or scripting, I've literally just started looking up on the subject last night, so bear with me. Background info: Basically I want to send some people a .pfx file (Its a public key component of an encrypted file)...