Jump to content
Macro Express Forums

Directory Modifcation Activation

Recommended Posts

ME Pro

My macro triggers if i create/save a file in notepad

I wanted to test from the command line (cmd/powershell)

echo foo>newfile.txt

Nothing in me happens?

try appending..

echo bar >>newfile.txt


try it another way in powershell

get-date | Set-Content g:\websites\injectJSCode\time.stamp





My path to watch exists and the what to watch is 'file last write time changes'.

It is set to watch subdirs but that did not affect the test(failed if off too)



Link to comment
Share on other sites

What happens if you try something similar from a regular command prompt? I'm wondering if PS access files in a different way and the system messages from PS are invisible.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...