Search found 10 matches

by Lauraq
2023-Jun-08, 8:11 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

Re: from a filename to file paths

I have write in the first post an example.

Your script open the typefiles.txt
by Lauraq
2023-Jun-07, 9:30 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11585

Re: from a filename to file paths

the script run but don't work
by Lauraq
2023-Jun-07, 9:29 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

Re: from a filename to file paths

dont work for me :(
by Lauraq
2023-Jun-05, 6:57 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

Re: from a filename to file paths

I think is correct. The file is named "typefiles.txt"
I have put the file and the bat in E: that is the source folder

And I have edit the script to

@echo off
for /f %%G in ('typefiles.txt') do call :sub "%%G"
goto:eof

:sub
dir %1 /s /b >>result.txt
by Lauraq
2023-Jun-05, 6:53 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11585

Re: from a filename to file paths

I have create the.ps1 file but don't work. I see only the terminal interfare with a led I have change it to: CD E:\ $files = get-content list.txt foreach ($file in $files) {dir $file -recurse | select -expandProperty fullname | out-file -append -encoding utf8 E:\result.txt} The source is E: The file...
by Lauraq
2023-Jun-05, 3:03 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11585

Re: from a filename to file paths

sorry, this is a .bat? Sorry I m not expert, tell me where I must put the string
by Lauraq
2023-Jun-05, 2:57 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

Re: from a filename to file paths

thanks but i run the bat and nothing happens
by Lauraq
2023-May-25, 8:17 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

Re: from a filename to file paths

thanks but can you tell me exatly where I must put the string?
I m looking for a .bat that execute the operation

And, the filename list is in txt format
by Lauraq
2023-May-19, 7:07 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11761

from a filename to file paths

Hi :) I have a txt containing a list of document names (docx) For example: newdoc2023.docx document_34.docx filedocument.docx I would need a script that searches the list of names inside a folder (and subfolders) and creates a txt containing the file path For example: C:\Doc\Nuova cartella\2023\newd...
by Lauraq
2023-May-15, 8:05 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11585

from a filename to file paths

Hi :) I have a txt containing a list of document names (docx) For example: newdoc2023.docx document_34.docx filedocument.docx I would need a script that searches the list of names inside a folder (and subfolders) and creates a txt containing the file path For example: C:\Doc\Nuova cartella\2023\newd...