Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. Check out the red area Hope this helped!
  2. @ darksimoon See if you can put something together, using the ideas from my last response to you and the Edit I've added to Thinkster's reply
  3. The default behaviour is to prompt on overwrites unless the copy command is being executed from within a batch script, which in this case it is. This would negate the requirement to include it; if you wish to 'cover your bases' however there will be no harm if left in.
  4. copy /y "file 1.ext" "%systemdrive%\Dir with spaces\Subdir with spaces"also the /y switch may not be necassary
  5. @ Thinkster That shouldn't be necessary for most of the ones you've mentioned, as they are not shortcuts and will not be found in the Desktop folder. <Edit> Here is an example, however, of something you could use @echo off&setlocal enableextensions for /d %%a in ("%AllUsersProfile%\..\*") do if exist "%%~a\Desktop\*.lnk" call :gothere "%%~a\Desktop" endlocal&goto :eof :gothere pushd %1 for /f "delims=" %%b in ('dir /b/a-d "*.lnk"^|findstr/ivg:"%~dp0lnk2keep.txt"^2^>nul') do if errorlevel 0 del /q "%%~b" popd&goto :eofnow you will need a txt file named lnk2keep.txt, to be kept in the same location as this cmd file. Each line of the txt file will contain the names of the files you wish to keep. example: Firefox.lnk Real Player.lnk SpywareBlaster.lnkWith the above, all *.lnk files found on 'all users desktops' will be deleted unless they match the names listed in the text file. </Edit>
  6. try something like this @echo off :: put the path to your files here set pathto=E:\My Files\textfiles\test :: put your file extension here set extn=txt :: put the filename without extension of the one you want keeping here set tokeep=msfntest pushd %pathto% for %%a in (*.%extn%) do if "%%~a" neq "%tokeep%.%extn%" echo/del /q "%%~a" popd&goto :eofRemove the echo/ once you have verified it works. Note - I have filled in after the equals symbols, only for information
  7. regtweaks.cmd @echo off for %%a in (*.reg) do call :addreg "%%~a" goto :eof :addreg echo/regedit /s %1 goto :eofremove the echo/ when you have confirmed it works!
  8. If you search the web you should find a freeware tool which will create unique GUIDs. One such example from Microsoft can be found here.
  9. Correction to the above, only in reletion to your original post. @echo off cmdow @ /HID SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx FOR %%d IN (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 IF EXIST %%d:\WIN51 SET CDROM=%%d: REG ADD %KEY% /V TITLE /D "Installing Applications" /f
  10. Also this may help Click here
  11. Voted for CCleaner too, simply because it is the best one listed. My vote however would have gone to Registry Medic, it is the most accurate I've used without over zealously deleting required stuff.
  12. CDIMAGE using the O switche(s) -o optimize storage by encoding duplicate files only once -oc slower duplicate file detection using binary comparisons rather than MD5 hash values -oi ignore diamond compression timestamps when comparing files -os show duplicate files while creating image (-o options can be combined like -ocis)
  13. I was only joking, but thanks anyhow
  14. The code will still do it's job in that it will still run the appropriate commands, only if the application is installed. However, the content of %ffdir% will be incorrect. If you use delims=<Tab>, then %ffdir% will also contain the installation path for the application, which you would be able to utilise further in your batch file if you felt the need. <Edit> Oh and thank you usually works better for me </Edit>
  15. Not wishing to sound ungrateful, however, this is how it works. I look at the product idea, and costings for all possible scenarios of how I want my systems run. Then I produce a draft utilising this data and how it will benefit the future of the organization. With this draft, our company decides whether or not the overall costs are feasible in order to move to the next stage of the process. I then look at any pitfalls, to do with the way our organization works and how your product will fit within it. Please note that our systems and structures will not be tailored around your product, if your product cannot fit within my envisaged structure it will not be. At this stage the discussions you suggest are needed may or may not ensue, but no discussion with any member of our organization and yourselves will ever take place before this time. If a workable solution can be found a full proposal will be produced for implementation into our budget plan. To re-iterate, I am not buying an IT consulting service, that is my job, what I am after is pricing structures for a software solution, that is your job. Is your company, capable of delivering the basic set of costings for the product lines you sell, or not.
  16. I know things may go a little off balance sometimes, however the no reply from your sales people isn't a good starting point for any company.I am after costings for all ImmunEngine products, from both single user standalone to networked multiple seats. These will run on a variety of systems running all flavours of NT based OSes. The seat numbers could range from 1 up to 1200 and will likely require more than one product due to multiple servers. This all depends upon the costings and our respective future upgrade strategy. Without costings for all possible scenarios, I will be unable to draft a proposal of any type. I am quite happy to receive the costings initially through this thread, they need not be exact figures simply estimated 'ball park' figures for each specific range of seat numbers.
  17. I have no idea what your double pipe is included for, regardless, here would be my guess: REGEDIT4 [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx] "Title"="Updating Patches" [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001] @="Acrobat Patch 6.0.1" "1"="msiexec /p \\\\TestServer\\TestArea\\Patches\\Applications\\Adobe\\Acrobat\\6\\Ac60BaP1.msp REINSTALLMODE=omus REINSTALL=ALL /qb REBOOT=ReallySuppress"
  18. @ a06lp, this should do it! Just remove the stuff in red once you have verified it works.<Edit> Just looking back at my code, I have noticed that, due to the way the site software works, I need to mention something. make sure when you paste the information into your file, that: delims=<Tab> not delims=<Space> <Edit>
  19. After one month now, I have still received no reply from my request to your 'busy' sales email address. If they are too busy to reply, then could you please give me the relevant information with regards current costing for the various solutions you sell.
  20. @ Takeshi I said and the space is not wanted or required
  21. Where did you get the information telling you about your tweaks? This one is your most likely culprit ;Enable 48-bit LBA Support for Large Hard Drives [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Atapi\Parameters] "EnableBigLba"=dword:00000001see the conditions and note here ;Large System Cache [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "LargeSystemCache"=dword:00000001The registry key LargeSystemCache "1" on a RAID Windows XP Pro configuration will lead to disastrious read/write errors. ;disable system paging [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "DisablePagingExecutive"=dword:00000001This can cause 'Delayed Write Failed' errors on some machines and may render it unbootable. This tweak is no longer recommended for Windows XP. ;Enable DMA66 (faster hard drive) [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0000] "EnableUDMA66"=dword:00000001Only recommended if you are using an Intel Chipset.
  22. Please read previous responses to Wesmosis for RunOnceEx.cmd syntax, and adjust accordingly for your preferred installation method. The command you need is the bit inside the quotes. <Edit> I find all methods beyond batch and inf files a waste of time, therefore I have never even attempted to look at their syntax and implemetation methods. However for my own curiosity, I took a 10 second glance at the Home Page and guess it'll be something like this ['rundll32 setupapi,InstallHinfSection DefaultInstall 132 %CDROM%\\Softwares\\shortcuts.inf']</Edit>
  23. utlns download link appears to work fine for me here. Its file size etc. matches your previous one BeenThereB4.
  24. Just as a side note, if you are wishing to add the variable to your system, i.e. always there; since the current variable is only local to the running batch. @echo off&setlocal enableextensions for /f "tokens=3* delims= " %%a in ( 'reg query "HKCU\Software\EasyBoot Systems\UltraISO\5.0" /v UserName^2^>nul' ) do ( if errorlevel 0 ( reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v MyNewVar /d "\"%%~a\"" /f&&echo/you have set a new environment variable named MyNewVar ) ) endlocal&goto :eof
  25. As I do not have the application you are using, it is difficult for me to test, however, if you have ensured that the space is in fact a tab only, it should work; as should this shorter version echo off&setlocal enableextensions for /f "tokens=3* delims= " %%a in ('reg query "HKCU\Software\EasyBoot Systems\UltraISO\5.0" /v UserName') do set mynewvar="%%~a" echo/you have set a new local variable named mynewvar as %mynewvar% endlocal&goto :eofmaking sure once again that delims=<Tab> If it still doesn't work try posting an output of the reg query command from a cmd session: reg query "HKCU\Software\EasyBoot Systems\UltraISO\5.0" /v UserName You should get an output consisting of the three tokens, 1st being your value name, 2nd being the data type and the third being the data value you require, each seperated by a tab
×
×
  • Create New...