Search found 177 matches
- 30 Apr 2015 11:56
- Forum: DOS Batch Forum
- Topic: Lock a folder with a password?
- Replies: 6
- Views: 6696
Re: Lock a folder with a password?
I am developing a batch file that can manage the 'hosts' file in the 'drivers\etc' folder My batch file has a feature to to set an optional password to access the functionality. Originally the password is hashed with a cipher in native batch, the result is stored in the registry and set a 'password ...
- 30 Apr 2015 08:06
- Forum: DOS Batch Forum
- Topic: Lock a folder with a password?
- Replies: 6
- Views: 6696
Re: Lock a folder with a password?
Well if anyone could figure a way to 'password encrypt' a folder in native batch, that would be great
Regard,
Adrian
Regard,
Adrian
- 29 Apr 2015 12:00
- Forum: DOS Batch Forum
- Topic: Lock a folder with a password?
- Replies: 6
- Views: 6696
Lock a folder with a password?
So I did a little research on Google and found you can lock and unlock a folder, but it doesn't require a password only the command to do it. if NOT EXIST Locker goto MDLOCKER :CONFIRM echo Are you sure u want to Lock the folder(Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOC...
- 28 Apr 2015 14:15
- Forum: DOS Batch Forum
- Topic: MD5 purely in batch
- Replies: 2
- Views: 3896
Re: MD5 purely in batch
Thanks
- 28 Apr 2015 13:47
- Forum: DOS Batch Forum
- Topic: MD5 purely in batch
- Replies: 2
- Views: 3896
MD5 purely in batch
Hi all,
Has anyone created a MD5 hasher purely in batch?
Please let me know, thank you.
Regards,
Adrian
Has anyone created a MD5 hasher purely in batch?
Please let me know, thank you.
Regards,
Adrian
- 28 Apr 2015 00:41
- Forum: DOS Batch Forum
- Topic: Multi-theading in batch
- Replies: 4
- Views: 5649
Re: Multi-theading in batch
Hi dbenham, thank you for replying and posting your solution, I really like it.
Please could you break down what happens line by line?
Thank you.
Adrian
Please could you break down what happens line by line?
Thank you.
Adrian
- 27 Apr 2015 14:30
- Forum: DOS Batch Forum
- Topic: Multi-theading in batch
- Replies: 4
- Views: 5649
Multi-theading in batch
Hi all, i've been a way for a while but I'm back I wanted to know if I could run multiple functions (processes) on my single batch file. I found a simple technique to do this and it works for running multiple infinite loops at the same time, which is nice. I played around and found making it run a l...
- 14 Jun 2014 04:20
- Forum: DOS Batch Forum
- Topic: Generate CRC-32 Checksum with batch file
- Replies: 6
- Views: 11437
Re: Generate CRC-32 Checksum with batch file
Well then shouldn't I rather go with CRC-32 instead MD5, because I am looking to just compare a file to a hash.
- 12 Jun 2014 15:19
- Forum: DOS Batch Forum
- Topic: Generate CRC-32 Checksum with batch file
- Replies: 6
- Views: 11437
Re: Generate CRC-32 Checksum with batch file
Which would be better to use, the crc32 or md5 algorithm?
- 12 Jun 2014 15:02
- Forum: DOS Batch Forum
- Topic: Generate CRC-32 Checksum with batch file
- Replies: 6
- Views: 11437
Generate CRC-32 Checksum with batch file
Hey everyone, sorry I have been away for a while, been busy with school and all, but... I recently looks at an old batch file I created for a YouTube video to register a OCX for the system (MSCOMCTL.OCX) Well my code is efficient, but I would like to make it more.. Well I have a function (Already) t...
- 12 Jun 2014 14:03
- Forum: DOS Batch Forum
- Topic: Need help with parameter arguments
- Replies: 8
- Views: 9412
Re: Need help with parameter arguments
Oh right, completely forgot about that But I have another question. How would I have a rule set? Where '/r /c /n' can only work together and '/u /d' can only also work together.. for example: comandline: "C:\file.bat /r /u" echo The syntax of the command is incorrect. I have no idea of an ...
- 12 Jun 2014 11:22
- Forum: DOS Batch Forum
- Topic: Need help with parameter arguments
- Replies: 8
- Views: 9412
Re: Need help with parameter arguments
Alright I think this is the best I have come up with, it works well set "/r="&set "/u="&set "/c="&set "/d="&set "/n=" if not "%~1"=="" ( if "%~1"=="/?" goto ListPar for %%a in (%*) do ( if "...
- 12 Jun 2014 10:44
- Forum: DOS Batch Forum
- Topic: Need help with parameter arguments
- Replies: 8
- Views: 9412
Re: Need help with parameter arguments
How would I get the "/?" to work then? Edit: Alright never mind, I fixed it set "/r="&set "/u="&set "/c="&set "/d="&set "/n="&set "/?=" if "%~1"=="/?" goto ListPar for %%a in (%*) do ( if &q...
- 12 Jun 2014 08:43
- Forum: DOS Batch Forum
- Topic: Need help with parameter arguments
- Replies: 8
- Views: 9412
Need help with parameter arguments
Hey everyone... Well I got this code last year from this forum but it is used for a "call" parameters not the actual batch file. I need this for my batch file to support multiple arguments at one call.. commandline: "C:\file.bat" /r setlocal enableextensions enabledelayedexpansio...
- 18 Jan 2014 05:02
- Forum: DOS Batch Forum
- Topic: Batch Simple Plugin System Concept
- Replies: 48
- Views: 38285
Re: Batch Simple Plugin System Concept
So just to be sure (sorry) 'Pluginable2' is the functions within main.bat that is a private function and the public functions are within "batch-dll"?