2016-06-05 10 views

Antwort

2

in Windows ist nicht das Äquivalent von find in Linux.

Das Äquivalent find [startpath] in Powershell wäre:

Get-ChildItem [startpath] -Name 

und in cmd.exe, wäre es:

dir /B [startpath] 
+1

Sollte das nicht "dir/S" sein? Oder fehlt mir etwas? –

1

Für ein Äquivalent:

find foo -type f 

... Ich benutze:

Get-Children foo -Name -Recurse -File | % { $_ -replace "\\", "/" }