![]() ![]() No restrictions on the filespec on that drive: it may be absolute or relative. To see this in action, launch Powershell by selecting the Start menu and typing Powershell. Powershell includes a command called get-process that provides a list of all active processes that are running on your local computer. It then goes through each file within the folder and outputs any files not containing the string. ![]() ![]() One more approach to reading a file that I happen to like is referred to variously as variable notation or variable syntax and involves simply enclosing a filespec within curly braces preceded by a dollar sign, to wit: $content = $) it does not work. Another tool you have available to save a list of running processes to a text file in Windows is Powershell. Use txt file as list in PowerShell array/variable Ask Question Asked 5 years, 11 months ago Modified 5 years, 11 months ago Viewed 3k times 0 I've got a script that searches for a string ('End program' in this case). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |