|
i got some solution for my question but one more problem occurs
this code replaces the text in a file but i have problem with this code
:: Create the assembler program, by Herbert Kleebauer
echo Bj@jzh`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=> %temp%.\sbs2.com
echo 0DxFP,0Xx.t0P,=XtGsB4o@$?PIyU!WvX0GwUY Wv;ovBX2Gv0ExGIuht6>> %temp%.\sbs2.com
echo ?@}IKuNWpe~Fpe?FNHlF?wGMECIQqo{Ox{T?kPv@jeoSeIlRFD@{AyEKj@>> %temp%.\sbs2.com
echo iqe~1NeAyR?mHAG~BGRgB{~H?o~TsdgCYqe?HR~upkpBG?~slJBCyA?@xA>> %temp%.\sbs2.com
echo LZp{xq`Cs?H[C_vHDyB?Hos@QslFA@wQ~~x}viH}`LYNBGyA?@xAB?sUq`>> %temp%.\sbs2.com
echo LRy@PwtCYQEuFK@A~BxPtDss@fFqjVmzD@qBEOEenU?`eHHeBCMs?FExep>> %temp%.\sbs2.com
echo LHsPBGyA?@xAunjzA}EKNs@CA?wQpQpKLBHv?s`WJ`LRCYyIWMJaejCksl>> %temp%.\sbs2.com
echo H[GyFGhHBwHZjjHeoFasuFUJeHeB?OsQH[xeHCPvqFj@oq@eNc?~}Nu??O>> %temp%.\sbs2.com
echo ~oEwoAjBKs?Zp`LBzHQzyEFrAWAG{EFrAqAGYwHTECIQ{coKIsaCsf{Oe~>> %temp%.\sbs2.com
echo CK}Ayre~CNFA{rAyEKFACrA{EKGAjbA}eKGSjNMtQFtc{OAyDGFj?{FDGQ>> %temp%.\sbs2.com
echo KAjNVk_OCAx@e?f{o?CosI}1EGizhljJ~H1ZeG}JBA~rACBMDGjjDG@g0>> %temp%.\sbs2.com
:: Use the program
%temp%.\sbs2.com 0 "&" "&" < c:\dirlist.xml > c:\dirlist1.xml
more details available of this code is HERE
AND I just want to
%temp%.\sbs2.com 0 "&" "&" < c:\dirlist.xml >
i want to assign a variable in that with %variablename% so please help for me
|
|
|
|
|
What variable name?? The only one there returns the path to the users local Temp folder.
This just creates an old DOS .COM file that gets executed. The SBS2 utiluty just does a search and replace of a string in another file. It offers no password functionality what-so-ever.
|
|
|
|
|
bro i am building a batch file to lock the folders with a password without any software using only md5.exe
code is below
title MAKING OF FOLDER LOCKER BATCH SCRIPT WITH BATCH
@ECHO OFF
SET NEW=%USERPROFILE%\DESKTOP\
if not exist md5.exe goto md5error
copy md5.exe %windir%\system32\
::creating batchfile of md5locker.cmd
echo echo cls=>%temp%.\md5locker.cmd
echo echo "Enter the Path of the drive">>%temp%.\md5locker.cmd
echo set/p "dpat=>">>%temp%.\md5locker.cmd
echo %dpat%>>%temp%.\md5locker.cmd
echo if %dpat%==c: goto CNG>>%temp%.\md5locker.cmd
echo if NOT %dpat%==c: goto FPAT>>%temp%.\md5locker.cmd
echo :CNG>>%temp%.\md5locker.cmd
echo cd\>>%temp%.\md5locker.cmd
echo goto FPAT>>%temp%.\md5locker.cmd
echo :FPAT>>%temp%.\md5locker.cmd
echo cls>>%temp%.\md5locker.cmd
echo echo "Enter the Path of the folder without drive name">>%temp%.\md5locker.cmd
echo set/p "fpat=>">>%temp%.\md5locker.cmd
echo cd %fpat%>>%temp%.\md5locker.cmd
echo if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK>>%temp%.\md5locker.cmd
echo echo "NO Locked Folders exist Please Enter the Name of the folder to Lock">>%temp%.\md5locker.cmd
echo set/p "name=>">>%temp%.\md5locker.cmd
echo if EXIST %name% goto LOCK>>%temp%.\md5locker.cmd
echo if NOT EXIST %name% goto MD>>%temp%.\md5locker.cmd
echo :MD >>%temp%.\md5locker.cmd
echo echo. Are you sure to Create and Lock the folder %name%(Y/N)>>%temp%.\md5locker.cmd
echo set/p "ch=>">>%temp%.\md5locker.cmd
echo if %ch%==Y goto MDLOCKER>>%temp%.\md5locker.cmd
echo if %ch%==y goto MDLOCKER>>%temp%.\md5locker.cmd
echo if %ch%==n goto END>>%temp%.\md5locker.cmd
echo if %ch%==N goto END>>%temp%.\md5locker.cmd
echo echo Invalid choice.>>%temp%.\md5locker.cmd
echo goto MD>>%temp%.\md5locker.cmd
echo :CONFIRM>>%temp%.\md5locker.cmd
echo echo Are you sure u want to Lock the folder(Y/N)>>%temp%.\md5locker.cmd
echo set/p "cho=>">>%temp%.\md5locker.cmd
echo if %cho%==Y goto LOCK>>%temp%.\md5locker.cmd
echo if %cho%==y goto LOCK>>%temp%.\md5locker.cmd
echo if %cho%==n goto END>>%temp%.\md5locker.cmd
echo if %cho%==N goto END>>%temp%.\md5locker.cmd
echo echo Invalid choice.>>%temp%.\md5locker.cmd
echo goto CONFIRM>>%temp%.\md5locker.cmd
echo :LOCK>>%temp%.\md5locker.cmd
echo ren %name% "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}">>%temp%.\md5locker.cmd
echo attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}">>%temp%.\md5locker.cmd
echo reg add hklm\software\lockedfolder /v %name% /t reg_sz /d %dpat%\%fpat%\%name%>>%temp%.\md5locker.cmd
echo echo Folder locked>>%temp%.\md5locker.cmd
echo goto End>>%temp%.\md5locker.cmd
echo :UNLOCK>>%temp%.\md5locker.cmd
echo echo Enter password to Unlock folder>>%temp%.\md5locker.cmd
echo set/p "pass=>">>%temp%.\md5locker.cmd
echo md5 -d"%pass%" -c"md5newpassword">>%temp%.\md5locker.cmd
echo if "%errorlevel%"=="0" goto correct>>%temp%.\md5locker.cmd
echo if "%errorlevel%"=="1" goto FAIL>>%temp%.\md5locker.cmd
echo :correct>>%temp%.\md5locker.cmd
echo Echo. Total Folders u have Locked with Folderpath>>%temp%.\md5locker.cmd
echo reg query "hklm\software\lockedfolder" /s>>%temp%.\md5locker.cmd
echo attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}">>%temp%.\md5locker.cmd
echo Echo. Give the Folder Name to Unlock>>%temp%.\md5locker.cmd
echo set/p "newname=>">>%temp%.\md5locker.cmd
echo ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" %newname%>>%temp%.\md5locker.cmd
echo reg delete "hklm\software\lockedfolder" /v %newname% /f>>%temp%.\md5locker.cmd
echo echo Folder Unlocked successfully>>%temp%.\md5locker.cmd
echo goto End>>%temp%.\md5locker.cmd
echo :FAIL>>%temp%.\md5locker.cmd
echo echo Invalid password>>%temp%.\md5locker.cmd
echo goto end>>%temp%.\md5locker.cmd
echo :MDLOCKER>>%temp%.\md5locker.cmd
echo md %name%>>%temp%.\md5locker.cmd
echo echo %name% created successfully>>%temp%.\md5locker.cmd
echo goto LOCK>>%temp%.\md5locker.cmd
:: ASCII assembler by Hebert Kleebauer
echo Bj@jzh`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=> %temp%.\ftc.COM
echo 0DxFP,0Xx.t0P,=XtGsB4o@$?PIyU!WvX0GwUY Wv;ovBX2Gv0ExGIuht6>> %temp%.\ftc.COM
echo ?@}IKuNWpe~Fpe?FNHlF?wGMECIQqo{Ox{T?kPv@jeoSeIlRFD@{AyEKj@>> %temp%.\ftc.COM
echo iqe~1NeAyR?mHAG~BGRgB{~H?o~TsdgCYqe?HR~upkpBG?~slJBCyA?@xA>> %temp%.\ftc.COM
echo LZp{xq`Cs?H[C_vHDyB?Hos@QslFA@wQ~~x}viH}`LYNBGyA?@xAB?sUq`>> %temp%.\ftc.COM
echo LRy@PwtCYQEuFK@A~BxPtDss@fFqjVmzD@qBEOEenU?`eHHeBCMs?FExep>> %temp%.\ftc.COM
echo LHsPBGyA?@xAunjzA}EKNs@CA?wQpQpKLBHv?s`WJ`LRCYyIWMJaejCksl>> %temp%.\ftc.COM
echo H[GyFGhHBwHZjjHeoFasuFUJeHeB?OsQH[xeHCPvqFj@oq@eNc?~}Nu??O>> %temp%.\ftc.COM
echo ~oEwoAjBKs?Zp`LBzHQzyEFrAWAG{EFrAqAGYwHTECIQ{coKIsaCsf{Oe~>> %temp%.\ftc.COM
echo CK}Ayre~CNFA{rAyEKFACrA{EKGAjbA}eKGSjNMtQFtc{OAyDGFj?{FDGQ>> %temp%.\ftc.COM
echo KAjNVk_OCAx@e?f{o?CosI}1EGizhljJ~H1ZeG}JBA~rACBMDGjjDG@g0>> %temp%.\ftc.COM
echo Enter password
set/p "pass1=>"
echo Re-Enter password
set/p "pass2=>"
if "pass1"=="pass2" goto passcre
:passcre
md5 -d"%pass1%" > "hi"
set "hie=<" type hi
:: Set old and new string below. Warning: the process is case sensitive !
%temp%.\ftc.COM 0 " md5newpassword " "%hie%" < %temp%.\md5locker.cmd > %new%.\md5locker.cmd
del %temp%.\ftc.COM
:md5error
md5.exe not present in the folder
pause
exit
:End
exit
|
|
|
|
|
Yep, I knew it. You're using the "GUID Trick" to "lock" folders. I'm sorry to say that this little trick is easily defeatable. As impressive as your batch file is, you're also wasting your time. I'll give you a hint. The folder isn't really "locked" to everything, only to Explorer.
|
|
|
|
|
Hi, I found that when I run my account in a user mode, i found my system run as normal. But when I upgrade my account from normal user to a member of administrator group, I found that my computer is run a little big slower. I'm running windows xp pro. Does anyone know what is the cause of the problem?
Thank in advance
|
|
|
|
|
In Windows Explorer (WinXP is my OS), I did a SEARCH for all "*.vcproj, *.sln" files modified in a certain Date range in all folders under a specific directory (C:\LATEST).
Is there a way to get the exact info that is reported in the GUI of the Search Results, saved to a text or CSV file?
If there is a way to do this in DOS, I am happy to try too.
Here is my search critera:
Find *.vcproj, *.sln in C:\LATEST\ (and below) that have been modified between 7/1/2009 - today (8/7/2009)<br />
Thank you very much!
|
|
|
|
|
JPSoft has a cmd replacement[^] that will do that nicely:
dir C:\latest\*.vcproj;*.sln /s /[d7-1-2009]
Add /b to get just the bare filenames.
--Mike--
Dunder-Mifflin, this is Pam.
|
|
|
|
|
i have attached a 200G hard drive externally with my system. there has been a power malfunction in our area. when the power came back, one partition of the external hard drive is shown as a partition of the local system hard drive.
the partition that is being shown as the local drive is not accessible.
i checked the disk from the disk manager, it shows the partition as healty, but it doesn't show any file system.
my system has also become very slow.
Helpppp!!!
modified on Thursday, August 6, 2009 2:19 AM
|
|
|
|
|
1. Shut your computer down to prevent any write access to the harddisks.
2. Boot your PC into a recovery system. I usually use Knoppix.
3. Check if parted shows the same problem.
4. If yes: Use recovery tools (like TestDisk and others) to try and recover the original partitioning information on both disks.
4. If no: Reinstall Windows.
Whatever you do, do a full byte-for-byte backup of the drives involved! Use something like DD or ddrescue. That way, you should be able to try different solutions by replaying the backup if one tool fails.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
What happens if you disconnect the external drive from your system before you start it?
|
|
|
|
|
Hi, I have a problem that my computer running windows xp pro sp3 is missing the LAN connection. I also check the device manager and didn't found the driver of the LAN. I didn't do anything to my system such as configure CMOS or uninstall the device driver from the device manager.
Does anyone has any problem with the above mention issue? Is it cause by the virus or by the hardware?
Thank in advance!!!
|
|
|
|
|
try to update ur driver nic
syntax error
|
|
|
|
|
Yes, I try to re-install the driver. It is working on the next day. I don't know what is the cause of the problem. Thank for your idea
|
|
|
|
|
try to ping the address , or ipconfig and such...
or go to my computer / hardward device manager/ scan driver changes/
if you think you do the troubleshoot and etc. i guess your NIC has a damage try to replace it or .... check your operating system ....
check the taskmanager go to networking
syntax error
|
|
|
|
|
During the time that I have that problem, I could not ping to anything. When I checked the device manager, I didn't see any device driver of NIC. I try to scan it but nothing happend. But now it is fine. I still don't know what happend to my system.
Thank you for your comment.
|
|
|
|
|
i think somebody is messing around to your computer...
syntax error
|
|
|
|
|
i think it has disable in bios itself bro after that accidently u had applied any default setting or any changes made by u just remember that
|
|
|
|
|
No, I didn't make any change to the BIOS of the computer.
|
|
|
|
|
Yes I think so. But this computer is not my computer. It was my boss computer. And he has admin right when he logon to the computer.
|
|
|
|
|
Dear all,
I have the following issue. (Am using windows vista Buisness 32 bit)
- Lets say ia mapped a network drive. Finished whatever to be done and i disconnected the mapped drive. When i again right click on My Computer -> Map Network drive, i can still find the previouse address of mapped drive in the drop down list. ex: \\192.168.88.4\drive
My question is how to remove, or delete or to make the pc never remember the address next time i wana map a drive?
Best regards,
0 will always beats the 1.
|
|
|
|
|
I've got a network setup with ISA server included. From the DNS/DHCP/ISA box (same box) I can ping the other virtual machine and I can ping the real machine that it is on. I can't ping the other machines and the other machines can't ping them. Same thing for wireless connections. Add to that that it seems that the dhcp is not working on those machines, its giving me a timeout as opposed to an unreachable.
config as follows:
(vm)
ISA ---- Switch ----- Wireless Router ---- Laptops
| | |
DB | Dev
(vm)| (real)
|
SVN
(real)
Suggestions? Any questions?
If the post was helpful, please vote, eh!
Current activities:
Book: Devils by Fyodor Dostoyevsky
Project: Hospital Automation, final stage
Learning: Image analysis, LINQ
Now and forever, defiant to the end.
What is Multiple Sclerosis[ ^]?
|
|
|
|
|
Some VM-Setups have a local-connection type, which limits access from a virtual machine to the real machine its running on. It will also create a seperate LAN-Entry on the real machines networking to enable communication between the two of them.
Since your problem is that you can ping the VM from the host and the host from the VM, DHCP on the host only works on the host and VM, this could be your source of problems.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Thanks Sebastian, but I managed to resolve the issue. It didn't occur to me at first to check whether the switch itself was faulty. Connecting any computer to the server proved it was, and thus another lesson in life is learned!
If in doubt of pinging across a network, don't forget to test the switch!
However, what you said sounds plausible. I wouldn't personally know since I'm more of a communications (protocol) guy as opposed to a networking guy!
If the post was helpful, please vote, eh!
Current activities:
Book: Devils by Fyodor Dostoyevsky
Project: Hospital Automation, final stage
Learning: Image analysis, LINQ
Now and forever, defiant to the end.
What is Multiple Sclerosis[ ^]?
|
|
|
|
|
Hi There
Just wondering if you guys can help me.
I'm trying to set up VPN at home through my W2k3 server, but cant seem to get past the username and password authentication. The server does not appear to respond at this point.
Any idea's why this may be?
The users I'm trying are set to allow vpn connections etc on the server, and I have port 1723 open on my router and pointing to my server (I've tried it on both network cards)
Any idea's? I cant determin if the problem is client or server side as it does get to the authentication bit... Are there any secret settings in the connection properties I should be setting?
Thanks
oooo, the Jedi's will feel this one....
modified on Thursday, July 30, 2009 5:49 AM
|
|
|
|
|
I have a PC running Vista. Now I'd like to install Windows Server 2003 on the 2nd hard disk and create a dual boot. I can set BIOS to boot from either disk, but I don't want to re-install Vista completely.
Has anyone done this way? Any suggestion is welcome.
Best,
Jun
|
|
|
|