Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Selected file is the input for my script

$
0
0

Hi guys!

My knowledge about the powershell world is limited, so i don't know if what i'm asking you is possible.

I've added an item on file context menu that call a script of mine, now i want that selected file become a parameter for my script.

For example my script move an item to another folder but how can i tell to my script that rubrica.pdf is the file to move? Maybe the file can be a parameter?

Thank for your time.

A

P.S.: Remember that i don't know what is the file in question or where it is so i must create a dynamic script.

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>