Windows 10: I am having trouble with PowerShell as I try to correct file names.

Discus and support I am having trouble with PowerShell as I try to correct file names. in Windows 10 Software and Apps to solve the problem; In 2017 I noticced that my photo file names had a timestamp in them, which meant that Lightroom could not find them. I asked on this forum and got help... Discussion in 'Windows 10 Software and Apps' started by LarrySheldon1, Apr 1, 2022.

  1. I am having trouble with PowerShell as I try to correct file names.


    In 2017 I noticced that my photo file names had a timestamp in them, which meant that Lightroom could not find them. I asked on this forum and got help from Naresh K. He gave me a powershell string to use and it worked well. I found more files to change, but now I get an error saying that access is denied to a bunch of system32 files which seem to have no connection to what I want to do. config, configuration, dmp, driverdata, driverstate, ias, etcHere is the link to that discussion:Moved files with Windows but date stamp was added - Microsoft CommunityHow do I make this work, please?

    :)
     
    LarrySheldon1, Apr 1, 2022
    #1

  2. Powershell command file to automatically list file/folder names

    I used "dir /b > file.txt" in a shift+right-click command prompt window to get the result I needed. Now, shift+right-click only shows the option for Powershell. I don't necessarily want to edit the registry to change that so I'm trying to adapt. In Powershell, using the command "ls | % Name file.txt" does the trick but there's two things I want to be able to do...

    1) Double-click a single command file to run the script and automatically generate the text file I need
    2) Have the script ignore the "file.txt" and the command file itself (because it adds "file.txt" to the list, which I don't need)

    I have tried making a .ps1 file but my knowledge is very limited on using Powershell and I can't get it work exactly how I need. I don't need anything from the list other than the file/folder name itself (no properties such as size, type, etc.) Any help would be appreciated.

    Thanks!
     
    ReleaseTheKrkn, Apr 1, 2022
    #2
  3. White Win User
    List file names than a folder.

    Is there a bat file to generate the list of file names that I have inside a folder?
    If possible you can help me to do it or give me suggestions. Thanks in advance.

    Please.
     
    White, Apr 1, 2022
    #3
  4. White Win User

    I am having trouble with PowerShell as I try to correct file names.

    List file names than a folder.

    Thanks for the suggestion I have obtained the list of the names of my folders, I have another question, you can.
    Or rather to customize several music files with the ending of a custom name.

    It is possible to switch to multiple files with a bat or exampleslash (custom name)blue (custom name) (custom name)pizarron (custom name)table (custom name)
     
    White, Apr 1, 2022
    #4
Thema:

I am having trouble with PowerShell as I try to correct file names.

Loading...
  1. I am having trouble with PowerShell as I try to correct file names. - Similar Threads - having trouble PowerShell

  2. So i am having trouble with powershell when trying to install or update any module

    in Windows 10 Gaming
    So i am having trouble with powershell when trying to install or update any module: I had an issue with changing the execution policy so I downloaded the PowerShell 7 zip and replaced all from it with the default install of PowerShell 5.1 now I can not install or update any module and the previous issue is not resolved until I import the older version of the...
  3. So i am having trouble with powershell when trying to install or update any module

    in Windows 10 Software and Apps
    So i am having trouble with powershell when trying to install or update any module: I had an issue with changing the execution policy so I downloaded the PowerShell 7 zip and replaced all from it with the default install of PowerShell 5.1 now I can not install or update any module and the previous issue is not resolved until I import the older version of the...
  4. I am having trouble updating windows. It wont install the update i have tried trouble...

    in Windows 10 Gaming
    I am having trouble updating windows. It wont install the update i have tried trouble...: It is update 2023-09 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems KB5030219everytime I try and install the update it fails. I don't know what else to do....
  5. I am having trouble updating windows. It wont install the update i have tried trouble...

    in Windows 10 Software and Apps
    I am having trouble updating windows. It wont install the update i have tried trouble...: It is update 2023-09 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems KB5030219everytime I try and install the update it fails. I don't know what else to do....
  6. I am trying to fix corrupted system files, but I am having trouble using command prompt to...

    in Windows 10 BSOD Crashes and Debugging
    I am trying to fix corrupted system files, but I am having trouble using command prompt to...: Recently I have had a lot of crashes with my PC and I have finally narrowed it down to corrupted system files. I used "sfc /scannow" and it could not repair the files as the source files were also corrupted. I have tried taking ownership with Command Prompt but it has...
  7. I am having trouble with PowerShell as I try to correct file names.

    in Windows 10 Network and Sharing
    I am having trouble with PowerShell as I try to correct file names.: In 2017 I noticced that my photo file names had a timestamp in them, which meant that Lightroom could not find them. I asked on this forum and got help from Naresh K. He gave me a powershell string to use and it worked well. I found more files to change, but now I get an...
  8. I am having trouble with PowerShell as I try to correct file names.

    in Windows 10 Gaming
    I am having trouble with PowerShell as I try to correct file names.: In 2017 I noticced that my photo file names had a timestamp in them, which meant that Lightroom could not find them. I asked on this forum and got help from Naresh K. He gave me a powershell string to use and it worked well. I found more files to change, but now I get an...
  9. Having trouble with file names

    in Windows 10 Network and Sharing
    Having trouble with file names: Whenever I click on a photo and it says "Save Image As", the file name is named "download" or "images" instead of the original file name the photo had. And so I have tried to look for a solution to fix it and I couldn't find one. I don't know what to do and I really need help...
  10. I am having trouble changing my login name

    in User Accounts and Family Safety
    I am having trouble changing my login name: I change it by using netplwiz, but as soon as I logout, the name reverts back to its original name. I can't change it by going under "user accounts" in control panel because the option to change names does not appear there like it does for other people. I can't change it by...