Jump to content

Outbreaker

Member
  • Posts

    376
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Luxembourg

Everything posted by Outbreaker

  1. I try to do a batch file that searches for this text in a file and if the text exists in there then it should be removed. I like also to do this without an extra .exe if it doesn't work in Batch then a VBScript would do the jop also. ECHO. ECHO Launching program XY... START "" /WAIT "%SystemDrive%\XY.exe" ECHO Deleting file "%SystemDrive%\XY.exe"... DEL /Q "%SystemDrive%\XY.exe"
  2. Deleting line numbers wont work because the line numbers can change so it not always 19-24.
  3. This here are the exactly lines (19-24) that i try to remove from a Batch file: ECHO. ECHO Launching program XY... START "" /WAIT "%SystemDrive%\XY.exe" ECHO Deleting file "%SystemDrive%\XY.exe"... DEL /Q "%SystemDrive%\XY.exe"
  4. HI Im stuck again at my batch script i try to delete 3 lines from a text file google was not really helpful does someone here know how to do this ?
  5. THX Yes this does the job didnt think of this "cd" command and that it would work.
  6. Yes but then the batch file must be also in the same folder where the files are. Like in the exemples i want to set a folder where the files are that should be deleted.
  7. HI Is it possible to only delete same files in a folder with only one command line. Exemple DEL /Q "C:\test\folder\" file1.inf, file2.gif, file3.sys ... Or: DEL /Q "C:\test\folder\" file1.inf file2.gif file3.sy ...... Or: DEL /Q "C:\test\folder\" "a_list_of_filenames_for_deleting.txt" I couldn't not find anything in goolge
  8. I don't get this now i have run procmon.exe and opened the cmd.exe file and now i see the cmd.exe Window agan this is strange.
  9. 1. In a new Windows Account the CMD.exe works without problems mmmm. 2. Yes i can see the cmd.exe process running in my user session in the Task Manager but i don't see it in the Task Manager under Applications. 3. If i make a copy of the cmd.exe and name it damcmd.exe an put it on the desktop then it has the same problem. 4. No i dont use Remote Desktop connection.
  10. I renamed the reg entries but also not working and i also tried already to modify the CMD shortcut options.
  11. Tried it but can't get it to work, if i use ALT+TAB i don't see the CMD.exe window even in the Task Manager under Applications it's not showing only under Processes i see that the cmd.exe is running.
  12. In safe mode it works but in VGA mode i have the same problem like in the normal mode. I also tried to stop all services and running processes i could stop but this did also not help and in the registry i could also not find anything useful mmmm.
  13. HI I have a strange problem if i start cmd.exe i dont get the window where i can tipe in the commands but in the Windows Task Manager under Processes the cmd.exe is there. Also if i do a batch script the batch file will be executed also the commands but i will not se a window. All is working but im not able to see a CMD window what could that be ? I checked also the cmd.exe & conhost.exe file size and it is the same as it always was.
  14. Perfect this works excellent THX. You saver me a lot of needed sleep time.
  15. I like the idee to use Scripts that i can open with the text edtor and edit it without a program if the next step will not work then AutoIt would be the only way. So it looks like the HTA could not be used like the VBScript to output a command to the Batch file. But what if i would select Yes and the HTA Script would make a Batch file in the Temp folder with the text "Yes" in it and then the main Batch file would then call the Batch file in the Temp folder and look if "Yes" or "No" is written in it and if like "Yes" is written in then the main Batch file gose to the line XY1 and if "No" is written it will go to the Batch line XY2. Im sure it would work but i don't no how to write the code for that
  16. Oh to put the batch script in the HTA file would be not so good it's a big Batch file and i have also separat all Script languag for each other like that it is not so confusion because the whole Scripts config files that i use to configure Windows are like 200KB together. If this is not working like in the VBScript then i could also make 2 more Batch files so if Yes is then selected it will Start the Batch file XY1 and if No it will Start the Batch file XY2.
  17. Nice MsgBox popup never heard about this HTA before. But would this also work with the Batch file like with the VBScript ? Like if the DemoMsgBox.hta is started by the Batch file and the option Yes is selected then got to Batch Script line XY1 and if the option No is selected then go to Batch Script line XY2. If this would works this would be the best Yes/No prompt Script for a Batch file.
  18. Yes that's it now only a countdown to show that if the user is not selecting a option then the script will auto select the option Yes in X seconds.
  19. HI I need help to make a VBScript that i can call with a Batch Script file and schould show then a MsgBox with a Yes/No option and a 30 seconds countdown. If a user has not selected a option and the time is up then the VBScript should automatically select the option Yes and also go to the Batch Script line XY1 and if No is selected then it should go to the Batch Script line XY2. I google for over 3 hours but i could finde only a simple Yes/No MsgBox VBScript and only one that had also a countdown option but this script was bugy and had also not the Batch Script GoTo line XY option. Hope someone can help me.
  20. I always ask the question to myself why should i upgrade what has the new Windows that the old Windows don't has or can do. Then only option i see to use Windows 7 is for DirectX 11 if you are a Game freek i play games but i don't buy a game because of the graphics i look if the game makes fun to play online thats the main point for me (No i don't play games like WOW where i must play all mount). I will wait for Windows 7 SP1 and then i will switch and not because it is better but because i think is the best time to use a 64-bit OS and Windows XP 64-bit is not the best OS for 64-bit.
  21. HI I have a porblem i use 2 connections a 3G (UMTS) Modem connection and a WLAN connection but always when i connect to the WLAN then the 3G (UMTS) Modem is disconnecting itself. I don't now how to stop this hop someone can help me with this.
  22. I found the bug if i select in "Regional and Language Options" "Luxembourg (Luxembourg)" the i get this bug but if i select "German (Luxembourg)" or "French (Luxembourg)" i don't get this bug.
  23. It looks all ok in Process Monitor. I will make a Format C: in +/- 3 Week then i will replace then all system files one by one that nLite is using from a new insatlled Windows XP on a Virtual Machine and see if a system file is causing this problem this is all i can do for now i'm out of ideas.
  24. I tested this options ALL and lot more like deinstalling PunkBuster and Demon Tool...
  25. MD5 is ok and i have send a PM to nuhi yesterday with the Topic like.
×
×
  • Create New...