Search found 7 matches

by TK87
11.01.2024, 19:56
Forum: Discussion
Topic: how to see FC when saving file from Outlook
Replies: 2
Views: 48610

Re: how to see FC when saving file from Outlook

Hi there. When I select Save as, MS File Explorer opens instead of FreeCommander. What you are talking about is the Save as dialog and no, this cannot be replaced by FreeCommander. Instead of selecting "Save as", hold the Ctrl key and select the attachments with the mouse. Then you can eit...
by TK87
23.10.2023, 20:39
Forum: General Discussion
Topic: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?
Replies: 9
Views: 8953

Re: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?

If you have previously executed the scripts via context menu, there the execution policy got bypassed. You mean the shell menu of the operating system? So far I never had any script added to it You said... I have an A-OK working PowerShell script. ... so how did you confirm that your script was wor...
by TK87
23.10.2023, 15:41
Forum: General Discussion
Topic: Total7zip Plugin Installer
Replies: 31
Views: 158787

Re: Total7zip Plugin Installer

Hi. After reviewing your script, I noticed that you did not set the " ErrorActionPreference " to " stop " anywhere. This means that if errors occur, they would not be caught by the try-catch blocks. As a small suggestion for improvement: Why don't you use ansi escape codes for th...
by TK87
22.10.2023, 20:33
Forum: General Discussion
Topic: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?
Replies: 9
Views: 8953

Re: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?

Since you said you were already using powershell, I thought you would be familiar with it as well. By default, the execution of powershell scripts is disabled. If you have previously executed the scripts via context menu, there the execution policy got bypassed. You can also do this by adding "...
by TK87
17.10.2023, 15:02
Forum: General Discussion
Topic: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?
Replies: 9
Views: 8953

Re: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?

Somehow I am not able to get anything more than just the PowerShell window showing up with elevated rights Then you must be doing something wrong. I have saved the following script under the exact same path: Using NameSpace System.Security.Principal Write-Host -NoNewLine "Permissions: " i...
by TK87
17.10.2023, 00:29
Forum: General Discussion
Topic: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?
Replies: 9
Views: 8953

Re: How to run PS1 script from a path that has a pause in it [using Favorite Toolbar Item]?

Hi there, Program or folder: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe Parameter: Start-Process ""C:\portables\! SCRIPTS\test.ps1"" -Verb runAs -WindowStyle Maximized Start-Process requires a program as FilePath parameter. For a file, otherwise only the default pr...
by TK87
16.10.2023, 23:44
Forum: Discussion
Topic: PowerShell Script using array as parameter - How?
Replies: 3
Views: 10702

Re: PowerShell Script using array as parameter - How?

Hi there. How do I get an array to my PowerShell script? I tried a lot and this command line is the closest I get. It works for 1 selected item. Multiple Items don't work. I know that PowerShell wants an array as @() but this didn't work either. Your problem actually has nothing to do with FreeComma...