diff --git a/Scheduling-exports-on-Windows.md b/Scheduling-exports-on-Windows.md index a91d7ee..facb8a3 100644 --- a/Scheduling-exports-on-Windows.md +++ b/Scheduling-exports-on-Windows.md @@ -20,7 +20,7 @@ If($TOKENTYPE -match "BOT"){$ISBOTYES = "-b"} Else{$ISBOTYES = ""} .\DiscordChatExporter.Cli.exe export -t $TOKEN $ISBOTYES -c $CHANNEL -f $EXPORTFORMAT -o exporttmp -$Date = Get-Date -Format "yyyy-MMM-dd HH-mm" +$Date = Get-Date -Format "yyyy-MM-dd HH-mm" If($EXPORTFORMAT -match "PlainText"){mv exporttmp -Destination "$EXPORTDIRECTORY\$FILENAME-$Date.txt"} ElseIf($EXPORTFORMAT -match "HtmlDark"){mv exporttmp -Destination "$EXPORTDIRECTORY\$FILENAME-$Date.html"} @@ -54,7 +54,7 @@ exit **1.** Press Windows + R, type `shell:startup` and press ENTER -**2.** Paste `filename.ps1` or a shortcut to this folder +**2.** Paste `filename.ps1` or a shortcut into this folder ## Scheduling with Task Scheduler