Search found 21 matches

by boskap
Thu Oct 04, 2018 2:57 am
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Re: Scripting Question

ok but why it works with powershell v5
it creates the folder when it not exists

it only should create the folde if it not exists
by boskap
Wed Oct 03, 2018 1:24 pm
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Re: Scripting Question

i know $buttonBrowseFolder_Click = { if ($folderbrowserdialog2.ShowDialog() -eq 'OK') { $textboxFolder.Text = $folderbrowserdialog2.SelectedPath $Back_Rec_Path = $folderbrowserdialog2.SelectedPath Update-ListBox $ListBox1 "create Backup Directory / read Backup Directory" -Append $global:De...
by boskap
Tue Oct 02, 2018 3:00 pm
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Re: Scripting Question

sorry for my question but on machines with v2 ps that didnt work
$global:DestPath = [system.io.path]::Combine($Back_Rec_Path.'BACKUP',$Env:USERNAME)

the scrippt didnt create a folder with backup on that drive i select

when i switch to a machine with ps 5 all work
by boskap
Thu Sep 20, 2018 2:29 pm
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Re: Scripting Question

ok i try i again

what i mean with runtime
is it possible to build an exe file with psv5 runtime is included
so it run also when on the target computer is no ps or an old version
by boskap
Thu Sep 20, 2018 12:58 pm
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Re: Scripting Question

i no that i should not use it
but i have no choice
join-path
have you got an example

or is it possible to include v5 runtime in an compiled exe
by boskap
Thu Sep 20, 2018 7:37 am
Forum: PowerShell
Topic: Scripting Question
Replies: 12
Views: 4509

Scripting Question

hello Sorry my english is not so good i have a question / problem with the browse folder function when i choose a folder and set a variable with this folder , adding a subfolder the path is ok $Back_Rec_Path = $folderbrowserdialog2.SelectedPath $global:DestPath = $Back_Rec_Path + "\BACKUP\"...
by boskap
Sat Aug 25, 2018 2:19 pm
Forum: PowerShell GUIs
Topic: Check of Checkboxes
Replies: 5
Views: 2645

Re: Check of Checkboxes

thx
but thats also clear
so i install my software after press the startbutton

is it possible to check all at the same time with a variable

i dont want querry checkbox1, checkbox2 and......
i like if checkbox*.checked or so in this form then

thx
by boskap
Sat Aug 25, 2018 10:58 am
Forum: PowerShell GUIs
Topic: Check of Checkboxes
Replies: 5
Views: 2645

Re: Check of Checkboxes

how i make a messagebox i know

but i only want to show it after the tasks of software installation
so i must check if any checkbox is checked and when yes show the message box

how i check them all
by boskap
Sat Aug 25, 2018 10:37 am
Forum: PowerShell GUIs
Topic: Check of Checkboxes
Replies: 5
Views: 2645

Check of Checkboxes

Sorry for that title i hafe a gui like an software installer where you can check checkboxes press a start button the tasks will run but i want to popup a messagebox when all tasks are done whats the best way i think about to check of any checkbox is checked and when yes start messagebox but how ? th...
by boskap
Sun Aug 12, 2018 8:14 am
Forum: PowerShell
Topic: win 10 app tile size
Replies: 6
Views: 2443

Re: win 10 app tile size

i can export and edit the file
but when i want to import it it says that i have no permissions because the layout file is blocked

i must update it when the user is logged on