-
-
Originally posted by LatecomerX:Nah, I'm not that free. Just that my intuition told me it was copied from somewhere and it happened to be a spot-on. So which variation did you copy? I'm guessing it's this one since the capitalization and the variable names are exactly the same. Am I right on this as well?
And please, as a kind advice, quote your source if you're copying someone else's work in the future.Erm, you're so free to look through google links and the variations huh?
If you want the sense of pride/ego so badly, you can have it
Edited by [DVD] 22 Dec `07, 2:47AM
-
-
-
Originally posted by LatecomerX:Oioioi, don't forget to quote the source hor.
http://www.google.com/search?client=opera&rls=en&q=echo+Enter+password+to+Unlock+folder&sourceid=opera&ie=utf-8&oe=utf-8
Nothing better to do that googling it huh?
Do note there are many variations to this coding for bat files.
-
-
-
Increase bandwidth by tweaking QoS in Windows XP Pro
The following tweak applies only to Windows XP Professional edition.
The default system behavior is that all 100% bandwidth is available, however, if there is a running application that indicates to the OS it needs to send high priority/real time data, then as long as it has the socket open, Windows XP will restrict best effort traffic to 80% of the bandwidth so that high priority traffic can be accommodated. Basically, applications can make this request to the operating system for QoS support using the QoS application programming interfaces (APIs) in Windows and this only applies if a specific app is requesting QoS.
If you'd like to change how much bandwidth is reserved for QoS (the default is 20% of the total bandwidth), do the following:
1. Make sure you're logged in as "Administrator" (not just any account with admin privileges).
2. Navigate to START>Run and type: gpedit.msc
3. Navigate to Local Computer Policy > Administrative Templates > Network > QOS Packet Scheduler
4. In the right window, double-click the limit reservable bandwidth setting
5. On the setting tab, check the enabled setting.
6. Where it says "Bandwidth limit %", change it to read 0 (or whatever percentage you want to reserve for high priority QoS data)
7. Click OK, close gpedit.msc
Under START > My Computer > My Network Connections > View Network Connections, right-click on your connection and under Properties (where it lists your protocols), make sure QOS Packet Scheduler is enabled.
The tweak desribed below helps boost priority for DNS & hostname resolution in general. What this means is, it helps web pages load faster, and has negligible effect on downloads (not counting the couple of ms gain with the host resolution at connect-time).
Applying this tweak assumes some proficiency in editing the Windows Registry using Regedit (Start > Run > type: regedit). As always, backup your Registry before making any changes so you can revert to the previous state if you don't like the results.
-
-
-
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
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 LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
1. Paste the above code in notepad. (remember to put in your password)
2. Save it as batch file(with extension .bat).Any name will do.
3. Now you see a batch file. Double click it to create a folder locker.
4. A new folder named Locker would be formed at the same location.
5. Now brings all the files you want to hide in the locker folder.
6. Now double click the batch file to lock the folder namely Locker.
7. If you want to unlock your files,double click the batch file again and you would be prompted for password.
8. Enter the password and enjoy access to the folder.
Drop a reply if you like it.
-

