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.
×
×
  • Create New...