Content Type
Profiles
Forums
Events
Everything posted by Yzöwl
-
batch search program
Yzöwl replied to titishor's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Will this do you? @ECHO off & SETLOCAL enableextensions disabledelayedexpansion SET/P "TOFIND=Please enter the name of the file or folder you want to find! " FOR /F %%A IN ('MOUNTVOL^|FINDSTR [C-Z]:\\') DO CALL :SUB %%~dA PING -n 11 127.0.0.1 1>NUL & GOTO :EOF :SUB DIR/B/S/A %1\%TOFIND% 2>NUL || ECHO=%TOFIND% not found in drive %1!! -
I have no idea what is happening because I cannot see your exact batch file!Incidentally, the .inf file I've already provided you with creates your required shortcut, DirectX Diagnosis.lnk, inside %AllUsersProfile%\StartMenu\Programs\Hidden Applications.
-
batch file, including vbs file
Yzöwl replied to Thundereagle's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I'm not entirely sure what you are wanting to achieve, (from the way you've worded your message), but my suggestion is that you think about using AutoIT for this type of task. -
You should create the directory first, there's nothing wrong with doing that. @Echo off If Not Exist "%USERPROFILE%\Desktop\XP Hidden Applications" ( Md "%USERPROFILE%\Desktop\XP Hidden Applications") Echo=Creating Shortcut&Echo= Shortcut...
-
Question Help me create a bootable multiOS and utilities hard drive
Yzöwl replied to a topic in Install Windows from USB
Member under both guises banned for warez / activation bypass discussion. Topic Closed. -
You need to check that the files you are using, (those which you've downloaded), have not been corrupted in some way.In order to verify their integrity, the developer has provided MD5 hashes for you to make a comparison. I have repropduced them here: Installer Name - nLite-1.4.9.1.installer.exe: Size - 2.54 MB MD5 - 3C29656A99295E819FA2FE44F814AE42 Self-extracting archive Name - nLite-1.4.9.1.exe Size - 2.38 MB MD5 - CB0EFF52EE9AB11D63D5D6000116E334
-
No you cannot use it as a .cmd file, (because it isn't one). If you have a need to install it via a command line as opposed to invoking it directly, (perhaps with a double click), then that option is available. It could therefore be run from a batch file by invoking that command line within that script. The information for doing this is readily available in multiple instances throughout this Forum and further afield. Once you've prepared, completed and posted your full list, I may be in a better position however to provide you with this additional information.
-
You asked for it, so here it is, an .inf file: [Version] Signature = "$Windows NT$" [DefaultInstall] ProfileItems = HidAppGrp, DxDiagShtCut [HidAppGrp] Name = Hidden Applications, 4 [DxDiagShtCut] CmdLine = 11, , dxdiag.exe Infotip = "Microsoft DirectX Diagnostic Tool" Name = DirectX Diagnosis SubDir = Hidden Applications WorkingDir = 53
-
You suggested that you wanted all of them not just one, I can give you a single shortcut or you can use shortcut.exe or some other third party utility to create your own , but I'm guessing that's not what you want, is it? Either provide a full list or we cannot be expected to help you.
-
If you provide the Topic with a full list of the applications you wish to have shortcuts for, their location, the names you wish to have allocated to them and the intended destination of those shortcuts, then I think you'll have a better chance of someone helping you out. Another idea is to ask one or more of the authors of the many applications you've found to create a 'Spanish' version.
-
Batch files to remove accessibility
Yzöwl replied to cristo59420's topic in Unattended Windows 2000/XP/2003
Just Curious why would you shorten it?? I didn't just shorten it for shortening sake, I also did it to make it easier to maintain. It is easier to work with just the one list of files than to have what amounts to the same list three times. -
Batch files to remove accessibility
Yzöwl replied to cristo59420's topic in Unattended Windows 2000/XP/2003
As an addition, since the requested batch file contained within that archive is 400+ lines long, I thought I'd upload a shorter, (untested but within 150 lines), version of it! REMOVE! Accessibility.zip -
Need Help Adjusting Batch Script
Yzöwl replied to OffHand's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Okay so as I presumed those two lines serve no purpose and can be removed. -
Need Help Adjusting Batch Script
Yzöwl replied to OffHand's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
The first thing I'd suggest is to get rid of the ampersand concatenation, this will keep your code easier to read whilst you troubleshoot it. Set K_="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ultravnc2_is1" Reg query %K_%>Nul 2>&1 && ( Echo=UltraVNC already installed - updating to version 1.0.8.2... UltraVNC_1.0.8.2_update.exe ) || ( Echo=Installing UltraVNC... Sc stop uvnc_service Sc delete uvnc_service Copy ultravnc.ini "%ProgramFiles%\UltraVNC" UltraVNC_1.0.8.2_Setup.exe /loadinf="180vncinstall" /verysilent )You should then retry the code, (which would only work if UltraVNC_1.0.8.2_update.exe, ultravnc.ini, UltraVNC_1.0.8.2_Setup.exe and 180vncinstall were located in the same directory as the running batch file). I'd also have to ask you why you intend to stop and delete an UltraVNC service if UltraVNC is not installed! -
Need tips on batch programming
Yzöwl replied to xinehp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
First of all let me say that your Operating System can run all of the first three methods provided by CoffeeFiend directly without the need to download anything! I would myself have provided and strongly suggested that you run a one line powershell command, (hence the request for your Operating System). If you really do want an outdated and more long-winded method of achieving the result here's your Windows Command Script, (batch file): @PUSHD E:\FRAPS 2>NUL||GOTO :EOF @ECHO OFF & SETLOCAL ENABLEEXTENSIONS DISABLEDELAYEDEXPANSION SET "LF_=" & IF DEFINED DIRCMD SET "DIRCMD=" FOR /F "TOKENS=*" %%# IN ('DIR/B/OD/A-D') DO SET "LF_=%%#" IF DEFINED LF_ DEL "%LF_%" POPD Please do not remove your opening question from our Forum when you feel the need to do so. It is selfish behaviour which does a dis-service to all readers, especially our Members. -
Need tips on batch programming
Yzöwl replied to xinehp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
In addition to that, since we are completely unaware of which Operating System you are using, (important for determining the best solution), I''d suggest changing it to: (Change the drive letter in red to match your source drive.)Not only do I find it a better formatted result, you should always have rights to place the output file on your Desktop where you can find it. -
Additionally, if you're looking for the drivers used for the floppy creation then try here: 32-bit 64-bit You can very likely also find what you need in this Forum Post
-
Need tips on batch programming
Yzöwl replied to xinehp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Unfortunately from the information you have provided I cannot work out exactly what you require. Please provide us with a proper example of your directory contents, and explain which file is the 'latest'. -
Gsm, my query was not to put down the use of hta/vbs it was that the batch file use appears to be the weak link. The suggested batch files unreliable, (non-universal), method of creating the date for the folder name is my biggest worry. I'd suggest the use of the far more usable and superior js or vbs methods of creating the date part of the desired directory name. Then you can if necessary either output to another script, (batch or vbs/js), or run the commands directly, (either using cmd.exe as per your hta example above or better still directly utilising filesystemobject collection(s)).
-
The biggest problem with the project is the fact that it is too much work to maintain in its current form. I highlighted the fact back in 2006, backed up by tommyp, that the script under Tomcat was going the wrong way, it was becoming bloated, (implementing far more than was originally intended). As a result of this, and the continual quick fixes the code has become very messy, it will be extremely difficult for anyone to just jump in and take over the development at this point in time. With the sudden disappearance of Tomcat, tommyp was left with a completely different piece of code than that which he'd been comfortable with and I'd suggest that this alone has made the maintenance of it a chore. Working on something as a chore is a far different task, tie that in with the fact that the number of users of the supported OS's is diminishing and it's a no-brainer to end development. The only way I could see the project continuing in any useful form would be to re-write the code, stripping away some things and probably removing the ability to support anything other than Windows XP. At that point I'd not even be sure that it would count as a version of HFSlip, under the same licencing or something completely different, but one thing is for sure HFSlip as you know it would definitely have stopped development.
-
See if this information on the HP Support Forum helps!
-
The current version appears to be Jump2regsetup2.8.7.rar. I hope it helps!, (I followed the link from MaxXPsoft's Forum Signature)
-
It appears that they received a response from elsewhere first but couldn't be bothered to update us! Need help on creating a batch file.
-
Well without seeing the script I would be hesitant in believing that anything has been solved.If I was however going to use the 'check every letter of the alphabet' method then I'd probably use a system to break the loop when found. (the trouble with the method you've suggested is that if the file is found at D:, the script would still check for it a E: F: G:.. etc.) @ECHO OFF SETLOCAL (SET HOST_DRV=) FOR %%# IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO ( CALL :SUB %%#:||GOTO :NEXT) :NEXT REM The commands you provided in your last message. IF DEFINED HOST_DRV START "" /WAIT "%HOST_DRV%\1.EXE" IF EXIST "C:\2.EXE" START "" /WAIT "C:\2.EXE" REM The rest of your commands go here. GOTO :EOF :SUB IF EXIST %1\1.EXE (SET "HOST_DRV=%1"&&EXIT/B 1) EXIT/B 0