Currently, I'm using this,
cd Images powershell.exe & Import-Module .\Resize-Image.psm1 & Resize-Image ....
What this does in PS, is that it will import the module and I'm able to use it's function to rescale my pictures and output it, it works pretty well in PS but i'm intending to use cmd prompt to call this as my other lines of codes are in cmd prompt. When i use this in cmd, it just displays
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
and is waiting for a new command even though the above code is in a .bat file.