In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to stop Alteryx producing .bak files when outputting to Excel

IraWatt
17 - Castor
17 - Castor

When I output to excel I always have an accompanying .bak file is there anyway to turn off the auto output of .bak files, they clog up my directories?

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Found a work around on Make backup (bak) file creation optional - Alteryx Community, you don't seem to be able to stop this feature. 

jeneir
8 - Asteroid

I use R code for file and folder action.

 

OutputPath is full path of the Excel file.

 

message("************ Delete BAK ************")

library(readr)

df <- read.Alteryx("#1", mode="data.frame")

message(paste("Number of files: ", nrow(df)))

if (nrow(df) > 0){
for (i in 1:nrow(df)){
deleteMe <- paste(df[i, 'OutputPath'], ".bak", sep="")
if (file.exists(deleteMe))
message(paste("Deleting: ", deleteMe))
file.remove(deleteMe)
}
}

 

Felipe_Ribeir0
16 - Nebula

Hi @IraWatt 

 

Another option is to use this macro to delete *.bak files. I found some people using it to do it.

 

Delete Files - Alteryx Community

Dhrish
8 - Asteroid

-

Labels
Top Solution Authors